☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp1z
/
class-deduction64.C
☽
☼
gcc/testsuite/g++.dg/cpp1z/class-deduction64.C
code
plain
raw
1
// PR c++/88820
2
// { dg-do compile { target c++17 } }
3
4
template <int> struct S;
5
6
template <S> struct W { // { dg-error "class type" "" { target c++17_only } }
7
template <typename> static int foo();
8
bool b = foo<int>();
9
};