invalid-gep-missing-explicit-type.ll 195 B

1234567
  1. ; RUN: not llvm-as < %s 2>&1 | FileCheck %s
  2. ; CHECK: <stdin>:4:27: error: expected comma after getelementptr's type
  3. define void @test(i32* %t) {
  4. %x = getelementptr i32* %t, i32 0
  5. ret void
  6. }