1// 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()
9