Changes in directory llvm/test/CFrontend:

2007-02-07-AddrLabel.c added (r1.1)
---
Log message:

New testcase for PR947: http://llvm.org/PR947 


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

 2007-02-07-AddrLabel.c |   10 ++++++++++
 1 files changed, 10 insertions(+)


Index: llvm/test/CFrontend/2007-02-07-AddrLabel.c
diff -c /dev/null llvm/test/CFrontend/2007-02-07-AddrLabel.c:1.1
*** /dev/null   Wed Feb  7 22:34:13 2007
--- llvm/test/CFrontend/2007-02-07-AddrLabel.c  Wed Feb  7 22:34:03 2007
***************
*** 0 ****
--- 1,10 ----
+ // PR947
+ // RUN: %llvmgcc %s -c -o - 
+ 
+ void foo() {
+     void *ptr;
+   label:
+     ptr = &&label;
+ 
+     goto *ptr;
+   }



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

Reply via email to