Home | History | Annotate | Download | only in AsmParser
      1 // RUN: not llvm-mc -g -triple i386-unknown-unknown %s 2> %t.err | FileCheck %s
      2 // RUN: FileCheck --check-prefix=CHECK-ERRORS %s < %t.err
      3 // Test for Bug 11740
      4 
      5         .file "hello"
      6         .file 1 "world"
      7 
      8 // CHECK: .file "hello"
      9 // CHECK-ERRORS:6:9: error: input can't have .file dwarf directives when -g is used to generate dwarf debug info for assembly code
     10