blob: 05221acc84f378bd0dfee495fc42a669a6719f73 [file] [log] [blame]
Rafael Espindola426fc942012-01-26 02:02:57 +00001// RUN: %clang_cc1 %s -fvisibility hidden -emit-llvm -o - | FileCheck %s
2
3namespace std __attribute__ ((__visibility__ ("default"))) {}
4#pragma GCC visibility push(default)
5void foo() {
6}
7#pragma GCC visibility pop
8// CHECK: define void @_Z3foov()