commit | 7cd2e93125e2f3b6ca01b24ed0c3fd7e94683fd9 | [log] [tgz] |
---|---|---|
author | Fariborz Jahanian <fjahanian@apple.com> | Fri Apr 03 03:28:57 2009 +0000 |
committer | Fariborz Jahanian <fjahanian@apple.com> | Fri Apr 03 03:28:57 2009 +0000 |
tree | 7429f1db201bd26efb44e3f002e6f8adfb6d95b4 | |
parent | d76e0a6c2262e62d943c120a0a8768943fdbde05 [diff] [blame] |
Implement -fvisibility. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68369 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/CodeGen/visibility-option.c b/test/CodeGen/visibility-option.c new file mode 100644 index 0000000..41b77ca --- /dev/null +++ b/test/CodeGen/visibility-option.c
@@ -0,0 +1,6 @@ +// RUN: clang-cc -fvisibility=hidden -emit-llvm -o - %s | grep -e "hidden" | count 2 + +int Global = 10; + +void Func() {} +