diff options
Diffstat (limited to 'test/Assembler/invalid-mdsubroutinetype-missing-types.ll')
-rw-r--r-- | test/Assembler/invalid-mdsubroutinetype-missing-types.ll | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Assembler/invalid-mdsubroutinetype-missing-types.ll b/test/Assembler/invalid-mdsubroutinetype-missing-types.ll new file mode 100644 index 0000000..7342417 --- /dev/null +++ b/test/Assembler/invalid-mdsubroutinetype-missing-types.ll @@ -0,0 +1,4 @@ +; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s + +; CHECK: [[@LINE+1]]:65: error: missing required field 'types' +!29 = !MDSubroutineType(flags: DIFlagPublic | DIFlagStaticMember) |