mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2024-12-20 05:28:01 +00:00
be7ce4110e
This reverts commit e96515433d
.
13 lines
170 B
C++
13 lines
170 B
C++
// Test for gcc-style "visibility" attribute.
|
|
struct __attribute__((visibility("hidden"))) D
|
|
{
|
|
D() {}
|
|
int f() { return 0; }
|
|
};
|
|
|
|
int main()
|
|
{
|
|
D d;
|
|
return d.f();
|
|
}
|