]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gdc.test/runnable/test12874.d
Add D front-end, libphobos library, and D2 testsuite.
[thirdparty/gcc.git] / gcc / testsuite / gdc.test / runnable / test12874.d
1 // EXTRA_SOURCES: imports/a12874.d
2 // PERMUTE_ARGS: -inline -g -O
3
4 import imports.a12874;
5
6 void main()
7 {
8 try
9 {
10 int x;
11 foo!(x)();
12 }
13 catch (Error e)
14 {
15 assert(e.file[$-8..$] == "a12874.d");
16 assert(e.line == 7);
17 }
18 }