1; RUN: llc -verify-machine-dom-info < %s | not grep test_
2
3; XFAIL: aix
4; AIX system assembler default print error for undefined reference .
5; so AIX chose to emit the available externally symbols into .s,
6; so that users won't run into errors in situations like:
7; clang -target powerpc-ibm-aix -xc -<<<$'extern inline __attribute__((__gnu_inline__)) void foo() {}\nvoid bar() { foo(); }' -O -Xclang -disable-llvm-passes
8
9; test_function should not be emitted to the .s file.
10define available_externally i32 @test_function() {
11  ret i32 4
12}
13
14; test_global should not be emitted to the .s file.
15@test_global = available_externally global i32 4
16
17