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:
Reid Spencer 2006-09-28 21:36:21 +00:00
parent 8a4d430a3a
commit d9ae84898e

View File

@ -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 Y;