Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
g++.dg
/
ubsan
/
pr81262.C
blob: 1b360de95ad60a983d0bcd5f73706c4d7a16a36a [
file
] [
log
] [
blame
]
// PR sanitizer/81262
// { dg-do compile }
// { dg-options "-O2 -fsanitize=unreachable" }
int
foo
()
{
asm
goto
(
""
:
:
:
:
l1
,
l2
);
__builtin_unreachable
();
l1
:
return
1
;
l2
:
return
0
;
}