summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/AsmParser/directive_file-2.s
blob: ad3904ada0e26285120c96f39582eb9f14a97d31 (plain)
1
2
3
4
5
6
7
8
9
10
11
// RUN: llvm-mc -g -triple i386-unknown-unknown %s | FileCheck %s
// Test for Bug 11740
// This testcase has two directive files,
// when compiled with -g, this testcase will not report error,
// but keep the debug info existing in the assembly file.

        .file "hello"
        .file 1 "world"

// CHECK: .file "hello"
// CHECK: .file 1 "world"
OpenPOWER on IntegriCloud