Debian Codegraph @

gcc/testsuite/g++.dg/ext/tmplattr7.C

raw
1 // PR c++/33620
2
3 template <typename T>
4 struct __attribute__((visibility("default"))) List {};
5
6 int bar(List<int> args);
7 bool test(const List<int> &);
8
9 int i = bar(List<int>());
10
11 bool test(const List<int> &) { return true; }