summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/ext/tmplattr7.C
blob: ee6c41847683c7244467bdc5ea4be01406d7ba94 (plain)
1
2
3
4
5
6
7
8
9
10
11
// PR c++/33620

template <typename T>
struct __attribute__((visibility("default"))) List {};

int bar(List<int> args);
bool test(const List<int> &);

int i = bar(List<int>());

bool test(const List<int> &) {}