Rafael Espindola | 426fc94 | 2012-01-26 02:02:57 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 %s -fvisibility hidden -emit-llvm -o - | FileCheck %s |
2 | |||||
3 | namespace std __attribute__ ((__visibility__ ("default"))) {} | ||||
4 | #pragma GCC visibility push(default) | ||||
5 | void foo() { | ||||
6 | } | ||||
7 | #pragma GCC visibility pop | ||||
8 | // CHECK: define void @_Z3foov() |