Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
instantiate7.C
blob: 8ddbdb19ab8dbea63597add7f599fee8238f1032 [
file
] [
log
] [
blame
]
// PR c++/19498
// Origin: Volker Reichelt <reichelt@igpm.rwth-aachen.de>
// { dg-do compile }
template
<
typename
T
>
struct
A
{
template
<
T
&>
struct
B
;
// { dg-error "reference to void" }
};
A
<void>
a
;
// { dg-message "required" }