mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +00:00
1bb52e00ac
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34088 91177308-0d34-0410-b5e6-96231b3b80d8
11 lines
288 B
C
11 lines
288 B
C
// RUN: %llvmgcc %s -S -o - | llvm-as | opt -std-compile-opts &&
|
|
// RUN: %llvmgcc %s -S -o - | llvm-as | opt -std-compile-opts | llc &&
|
|
// RUN: %llvmgcc %s -S -o - | llvm-as | llc -std-compile-opts | llc | \
|
|
// RUN: not grep _foo2
|
|
|
|
void foo() __asm__("foo2");
|
|
|
|
void bar() {
|
|
foo();
|
|
}
|