Changes in directory llvm/test/Regression/CFrontend:

2005-12-04-AttributeUsed.c added (r1.1)
---
Log message:

New testcase for PR660: http://llvm.cs.uiuc.edu/PR660 


---
Diffs of the changes:  (+8 -0)

 2005-12-04-AttributeUsed.c |    8 ++++++++
 1 files changed, 8 insertions(+)


Index: llvm/test/Regression/CFrontend/2005-12-04-AttributeUsed.c
diff -c /dev/null llvm/test/Regression/CFrontend/2005-12-04-AttributeUsed.c:1.1
*** /dev/null   Sun Dec  4 22:48:22 2005
--- llvm/test/Regression/CFrontend/2005-12-04-AttributeUsed.c   Sun Dec  4 
22:48:12 2005
***************
*** 0 ****
--- 1,8 ----
+ // RUN: %llvmgcc %s -S -o - | llvm-as | llvm-dis | grep llvm.used | grep foo 
| grep X
+ 
+ int X __attribute__((used));
+ int Y;
+ 
+ void foo() __attribute__((used));
+ 
+ void foo() {}



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to