☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
warn
/
pr104025.C
☽
☼
gcc/testsuite/g++.dg/warn/pr104025.C
code
plain
raw
1
// PR c++/104025
2
// { dg-do compile }
3
// { dg-options "-Wmissing-template-keyword -fcompare-debug" }
4
5
void bar (int);
6
7
struct S { int i; };
8
9
template <class C>
10
struct T
11
{
12
int m;
13
C c;
14
void foo ()
15
{
16
bar (c.i < m);
17
}
18
};
19
20
template void T<S>::foo ();