From d9ae84898ef7e2e97aa4eecd8a9df8e383d15c67 Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Thu, 28 Sep 2006 21:36:21 +0000 Subject: [PATCH] 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 --- test/CFrontend/2005-12-04-AttributeUsed.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.34.1