☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp2a
/
fn-template6.C
☽
☼
gcc/testsuite/g++.dg/cpp2a/fn-template6.C
code
plain
raw
1
// P0846R0
2
// { dg-do compile }
3
// { dg-options "-std=c++2a" }
4
5
template<class>
6
struct X {
7
int first = 0;
8
};
9
10
int
11
f ()
12
{
13
X<int> x, y;
14
bool b = x.first < y.first;
15
return b;
16
}