From: Reid Spencer Date: Thu, 28 Sep 2006 21:36:21 +0000 (+0000) Subject: Use the -emit-llvm switch to generate LLVM assembly that can be parsed X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=d9ae84898ef7e2e97aa4eecd8a9df8e383d15c67;p=oota-llvm.git 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 --- diff --git a/test/CFrontend/2005-12-04-AttributeUsed.c b/test/CFrontend/2005-12-04-AttributeUsed.c index 1b5a3b2276a..e19d3488063 100644 --- a/test/CFrontend/2005-12-04-AttributeUsed.c +++ b/test/CFrontend/2005-12-04-AttributeUsed.c @@ -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;