summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/pr11797.cpp
blob: 1098372ce3894ec25dcf5c4fec2cfda6cb55d856 (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-LABEL: define void @_Z3foov()
OpenPOWER on IntegriCloud