Debian Codegraph @

gcc/testsuite/g++.dg/cpp2a/fn-template14.C

raw
1 // P0846R0
2 // { dg-do compile }
3 // { dg-options "-std=c++2a" }
4
5 template<typename> struct B
6 {
7 template<typename> int foo() { return 0; }
8 int i = foo<int>();
9 };