Sign in
gnu
/
gcc
/
57ea00136418991e847e46a6946a81a1df70c9a4
/
.
/
gcc
/
testsuite
/
g++.dg
/
inherit
/
template-as-base.C
blob: 5d34b15d8fcb4f6984dad09fb863426740b6696e [
file
] [
log
] [
blame
]
// Contributed by Gabriel Dos Reis <gdr@codesourcery.com>
// Distilled from PR C++/3656
namespace
N
{
template
<typename>
struct
X
{
};
}
struct
A
:
N
::
X
{
};
// { dg-error "expected class-name" "" }