forked from OSchip/llvm-project
13 lines
194 B
C++
13 lines
194 B
C++
|
// RUN: %clang_cc1 -fsyntax-only %s
|
||
|
|
||
|
namespace test1 {
|
||
|
template <class C>
|
||
|
struct C2
|
||
|
{
|
||
|
static int p __attribute__((visibility("hidden")));
|
||
|
};
|
||
|
int f() {
|
||
|
return C2<int>::p;
|
||
|
}
|
||
|
}
|