From fd98d4e56d719cf30c1b782f2c6b87a29a311f74 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 14 Jan 2007 18:57:37 +0000 Subject: [PATCH] verify that hidden visibility support never goes away llvm-svn: 33205 --- test/Regression/CFrontend/hidden-visibility.c | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 test/Regression/CFrontend/hidden-visibility.c diff --git a/test/Regression/CFrontend/hidden-visibility.c b/test/Regression/CFrontend/hidden-visibility.c new file mode 100644 index 00000000000..2bfecac2620 --- /dev/null +++ b/test/Regression/CFrontend/hidden-visibility.c @@ -0,0 +1,3 @@ +// RUN: %llvmgcc %s -emit-llvm -S -o - | grep 'hidden global' + +int X __attribute__ ((__visibility__ ("hidden"))) = 123;