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
Dead
[official-gcc.git]
/
gomp-20050608-branch
/
gcc
/
testsuite
/
g++.dg
/
inherit
/
template-as-base.C
blob
5d34b15d8fcb4f6984dad09fb863426740b6696e
1
// Contributed by Gabriel Dos Reis <gdr@codesourcery.com>
2
// Distilled from PR C++/3656
3
4
namespace N
5
{
6
template<typename> struct X { };
7
}
8
9
struct A : N::X { }; // { dg-error "expected class-name" "" }