xref: /aosp_15_r20/external/llvm/test/MC/AsmParser/directive_file-2.s (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1// RUN: llvm-mc -triple i386-unknown-unknown %s | FileCheck %s
2// Test for Bug 11740
3// This testcase has two directive files,
4// when compiled with -g, this testcase will not report error,
5// but keep the debug info existing in the assembly file.
6
7        .file "hello"
8        .file 1 "world"
9
10// CHECK: .file "hello"
11// CHECK: .file 1 "world"
12