directive_file-errors.s 363 B

123456789
  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. .file "hello"
  5. .file 1 "world"
  6. // CHECK: .file "hello"
  7. // CHECK-ERRORS:6:9: error: input can't have .file dwarf directives when -g is used to generate dwarf debug info for assembly code