diff options
Diffstat (limited to 'clang/test/CodeGenCXX/pragma-visibility.cpp')
-rw-r--r-- | clang/test/CodeGenCXX/pragma-visibility.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/clang/test/CodeGenCXX/pragma-visibility.cpp b/clang/test/CodeGenCXX/pragma-visibility.cpp index 2dc8bcc74fa..97f8cc8bb85 100644 --- a/clang/test/CodeGenCXX/pragma-visibility.cpp +++ b/clang/test/CodeGenCXX/pragma-visibility.cpp @@ -55,8 +55,6 @@ namespace n __attribute((visibility("default"))) { #pragma GCC visibility pop namespace n __attribute((visibility("default"))) { - extern int foofoo; // FIXME: Shouldn't be necessary, but otherwise the pragma - // gets to Sema before the namespace! #pragma GCC visibility push(hidden) void g() {} // CHECK: define hidden void @_ZN1n1gEv @@ -66,8 +64,6 @@ namespace n __attribute((visibility("default"))) { // We used to test this, but it's insane, so unless it happens in // headers, we should not support it. namespace n __attribute((visibility("hidden"))) { - extern int foofoo; // FIXME: Shouldn't be necessary, but otherwise the pragma - // gets to Sema before the namespace! #pragma GCC visibility pop void h() {} // CHECK disabled: define void @_ZN1n1hEv |