You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
288 B
9 lines
288 B
4 months ago
|
// RUN: %clang_cc1 %s -fvisibility hidden -triple %itanium_abi_triple -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()
|