Sign in
◑
Theme
gnu
/
gcc.git
/
refs/heads/master
/
.
/
gcc
/
testsuite
/
rust
/
compile
/
issues
/
2029.rs
blob: c6ef887637019a3de25bedc0cbfce602e56539e9 [
file
]
#![
feature
(
no_core
)]
#![
no_core
]
struct
Foo
(
bool
);
fn
foo
(
_
:
usize
)
->
Foo
{
Foo
(
false
)
}
fn
main
()
{
match
Foo
(
true
)
{
foo
(
x
)
// { dg-error "expected tuple struct or tuple variant, found function " "" { target *-*-* } .-1 }
=>
()
}
}