Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
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 "?:" }