Debian Codegraph @

gcc/testsuite/g++.dg/template/addr1.C

raw
1 // PR c++/15542
2
3 template <typename> struct S_T {
4 const char** operator & ();
5 };
6
7 template <class T> void foo(T **) {}
8
9 template <typename> void templateTest() {
10 S_T<const char> s_t;
11 foo(&s_t);
12 }