Debian Codegraph @

gcc/testsuite/g++.dg/cpp2a/nontype-class30.C

raw
1 // PR c++/91754 - Fix template arguments comparison with class NTTP.
2 // { dg-do compile { target c++20 } }
3
4 struct S {};
5
6 template<S s>
7 struct T {
8 T();
9 };
10
11 template<S s>
12 T<s>::T() {}
13
14 S s;
15 T<s> t;