diff options
Diffstat (limited to 'tests/preprocessor/line.slang')
| -rw-r--r-- | tests/preprocessor/line.slang | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/preprocessor/line.slang b/tests/preprocessor/line.slang new file mode 100644 index 000000000..7babcae82 --- /dev/null +++ b/tests/preprocessor/line.slang @@ -0,0 +1,19 @@ +//TEST:SIMPLE: +// #line support + +FooA a() { return 0; } + +#line 99 "b.slang" +FooB b() { return 0; } + +#line default +FooC c() { return 0; } + +#line 603 "d.slang" +FooD d() { return 0; } + +#line 40 +FooE e() { return 0; } + +#line +FooF f() { return 0; } |
