summaryrefslogtreecommitdiff
path: root/clang/test/CodeGenCXX/pr11797.cpp
blob: 05221acc84f378bd0dfee495fc42a669a6719f73 (about) (plain)
1
2
3
4
5
6
7
8
// RUN: %clang_cc1 %s -fvisibility hidden -emit-llvm -o - | FileCheck %s

namespace std __attribute__ ((__visibility__ ("default"))) {}
#pragma GCC visibility push(default)
void foo() {
}
#pragma GCC visibility pop
// CHECK: define void @_Z3foov()