Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
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" }