Sign in
gnu
/
gcc
/
refs/tags/basepoints/gcc-13
/
.
/
gcc
/
testsuite
/
gdc.test
/
runnable
/
test12874.d
blob: 750c8247e4360aa953c1655ab2687071ff401171 [
file
] [
log
] [
blame
]
// EXTRA_SOURCES: imports/a12874.d
// PERMUTE_ARGS: -inline -g -O
import
imports
.
a12874
;
void
main
()
{
try
{
int
x
;
foo
!(
x
)();
}
catch
(
Error
e
)
{
assert
(
e
.
file
[
$
-
8.
.
$
]
==
"a12874.d"
);
assert
(
e
.
line
==
7
);
}
}