Sign in
android
/
toolchain
/
gcc
/
donut
/
.
/
gcc-4.4.0
/
gcc
/
testsuite
/
g++.dg
/
inherit
/
base3.C
blob: 866b2906c4f6362eebb2b7bfae659e0c34f044d8 [
file
] [
log
] [
blame
]
// PR c++/35985
// { dg-do compile }
template
<
typename
T
>
struct
A
:
T
{};
// { dg-error "struct or class type" }
struct
B
;
A
<
void
(
B
::*)()>
a
;
// { dg-message "instantiated" }