diff options
Diffstat (limited to 'test/FrontendC/hidden-visibility.c')
-rw-r--r-- | test/FrontendC/hidden-visibility.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/FrontendC/hidden-visibility.c b/test/FrontendC/hidden-visibility.c new file mode 100644 index 0000000..fc2ae44 --- /dev/null +++ b/test/FrontendC/hidden-visibility.c @@ -0,0 +1,3 @@ +// RUN: %llvmgcc %s -emit-llvm -S -o - | grep {hidden global} + +int X __attribute__ ((__visibility__ ("hidden"))) = 123; |