diff options
Diffstat (limited to 'clang/test/CodeGen/hidden-visibility.c')
-rw-r--r-- | clang/test/CodeGen/hidden-visibility.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/test/CodeGen/hidden-visibility.c b/clang/test/CodeGen/hidden-visibility.c new file mode 100644 index 0000000..65e6616 --- /dev/null +++ b/clang/test/CodeGen/hidden-visibility.c @@ -0,0 +1,4 @@ +// RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s + +// CHECK: hidden global +int X __attribute__ ((__visibility__ ("hidden"))) = 123; |