llvm-project/llvm/test/Assembler/invalid-disubprogram-unique...

5 lines
206 B
LLVM

; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
; CHECK: <stdin>:[[@LINE+1]]:6: error: missing 'distinct', required for !DISubprogram when 'isDefinition'
!0 = !DISubprogram(isDefinition: true)