aboutsummaryrefslogtreecommitdiffstats
path: root/test/Assembler/invalid-gep-missing-explicit-type.ll
blob: 6f7281abb9515de0e575bb7d95ce023ca3e89246 (plain)
1
2
3
4
5
6
7
; RUN: not llvm-as < %s 2>&1 | FileCheck %s
; CHECK: <stdin>:4:27: error: expected comma after getelementptr's type
define void @test(i32* %t) {
  %x = getelementptr i32* %t, i32 0
  ret void
}