projects
/
gcc.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
re PR c++/25300 (ICE with g++.dg/template/inherit.C)
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
inherit.C
1
// Contributed by Gabriel Dos Reis <gdr@codesourcery.com>
2
// { dg-do compile }
3
4
template<typename T>
5
struct X { void f() { } };
6
7
struct Z : X<int> { };
8
9
int main()
10
{
11
Z z;
12
z.X::f(); // { dg-error "template parameters" "" }
13
}