mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +00:00
Use the -emit-llvm switch to generate LLVM assembly that can be parsed
by the test case. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30654 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8a4d430a3a
commit
d9ae84898e
@ -1,4 +1,4 @@
|
|||||||
// RUN: %llvmgcc %s -S -o - | llvm-as | llvm-dis | grep llvm.used | grep foo | grep X
|
// RUN: %llvmgcc %s -S -emit-llvm -o - | llvm-as | llvm-dis | grep llvm.used | grep foo | grep X
|
||||||
|
|
||||||
int X __attribute__((used));
|
int X __attribute__((used));
|
||||||
int Y;
|
int Y;
|
||||||
|
Loading…
Reference in New Issue
Block a user