Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
inherit
/
template-as-base.C
blob: a7e531efc00b014c8f312109d3e161c1eef74bc3 [
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" }