☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
template
/
error53.C
☽
☼
gcc/testsuite/g++.dg/template/error53.C
code
plain
raw
1
// PR c++/57638
2
3
template<int x>
4
struct S {};
5
6
template<long long i>
7
void g(S<i>);
8
9
void f()
10
{
11
S<1000> t;
12
g(t); // { dg-error "no matching" }
13
} // { dg-message "mismatched types 'long long int' and 'int'" "" { target *-*-* } .-1 }