PR c++/33620
[official-gcc.git] / gcc / testsuite / g++.dg / ext / tmplattr7.C
blobee6c41847683c7244467bdc5ea4be01406d7ba94
1 // PR c++/33620
3 template <typename T>
4 struct __attribute__((visibility("default"))) List {};
6 int bar(List<int> args);
7 bool test(const List<int> &);
9 int i = bar(List<int>());
11 bool test(const List<int> &) {}