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