Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
parse
/
crash41.C
blob: c14fbadff9f8564822a2b7867d965ec4e50ae9e3 [
file
] [
log
] [
blame
]
// PR c++/35327
struct
A
{
A
(
int
)();
// { dg-error "declared" }
};
template
<int>
void
foo
(
bool
b
,
A a
)
{
b
?
a
:
0
;
}
// { dg-error "?:" }