Sign in
fuchsia
/
third_party
/
rust
/
ab1a3f09fd3e1dbce850b9e1b691dc8338584e65
/
.
/
src
/
test
/
run-fail
/
panic-parens.rs
blob: e7f98e58c4f390937899cfb47e13e653c1314e9c [
file
] [
log
] [
blame
]
// Fail macros without arguments need to be disambiguated in
// certain positions
// error-pattern:oops
fn
bigpanic
()
{
while
(
panic
!(
"oops"
))
{
if
(
panic
!())
{
match
(
panic
!())
{
()
=>
{}
}
}
}
}
fn
main
()
{
bigpanic
();
}