Rafael Espindola | ef3c694 | 2013-01-08 14:58:32 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -fsyntax-only %s |
2 | |||||
3 | namespace test1 { | ||||
4 | template <class C> | ||||
5 | struct C2 | ||||
6 | { | ||||
7 | static int p __attribute__((visibility("hidden"))); | ||||
8 | }; | ||||
9 | int f() { | ||||
10 | return C2<int>::p; | ||||
11 | } | ||||
12 | } |