Sign in
fuchsia
/
third_party
/
rust
/
7dbfb0a8ca4ab74ee3111e57a024f9e6257ce37c
/
.
/
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
();
}