Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
varmod1.C
blob: 38e1e1c85dfd17162acd9c6d2419d7c02f3dac29 [
file
] [
log
] [
blame
]
// { dg-options "-w" }
template
<
typename
T
>
void
foo
(
T
);
// { dg-message "note" }
void
bar
()
{
int
i
;
int
A
[
i
][
i
];
foo
(
A
);
// { dg-error "" }
// { dg-message "(candidate|not a valid template argument)" "candidate note" { target *-*-* } .-1 }
}