repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Update concepts branch to revision 131834
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
inherit.C
blob
bc20345fa0a7c7b57cf28818149a06bbc82560fc
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
}