[llvm-commits] CVS: llvm/test/Regression/CFrontend/hidden-visibility.c
Chris Lattner
sabre at nondot.org
Sun Jan 14 10:57:52 PST 2007
Changes in directory llvm/test/Regression/CFrontend:
hidden-visibility.c added (r1.1)
---
Log message:
verify that hidden visibility support never goes away
---
Diffs of the changes: (+3 -0)
hidden-visibility.c | 3 +++
1 files changed, 3 insertions(+)
Index: llvm/test/Regression/CFrontend/hidden-visibility.c
diff -c /dev/null llvm/test/Regression/CFrontend/hidden-visibility.c:1.1
*** /dev/null Sun Jan 14 12:57:47 2007
--- llvm/test/Regression/CFrontend/hidden-visibility.c Sun Jan 14 12:57:37 2007
***************
*** 0 ****
--- 1,3 ----
+ // RUN: %llvmgcc %s -emit-llvm -S -o - | grep 'hidden global'
+
+ int X __attribute__ ((__visibility__ ("hidden"))) = 123;
More information about the llvm-commits
mailing list