LLParser: Require non-null scope for MDLocation and MDLocalVariable
[oota-llvm.git] / test / Assembler / invalid-mdlocalvariable-null-scope.ll
1 ; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
2
3 ; CHECK: <stdin>:[[@LINE+1]]:30: error: 'scope' cannot be null
4 !0 = !MDLocalVariable(scope: null)