]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/testsuite/gdc.test/fail_compilation/ice13788.d
d: Import dmd b8384668f, druntime e6caaab9, phobos 5ab9ad256 (v2.098.0-beta.1)
[thirdparty/gcc.git] / gcc / testsuite / gdc.test / fail_compilation / ice13788.d
CommitLineData
b4c522fa
IB
1/*
2TEST_OUTPUT:
3---
5fee5ec3
IB
4fail_compilation/ice13788.d(11): Error: pragma `mangle` string expected for mangled name
5fail_compilation/ice13788.d(12): Error: `string` expected for mangled name, not `(1)` of type `int`
6fail_compilation/ice13788.d(13): Error: pragma `mangle` zero-length string not allowed for mangled name
7fail_compilation/ice13788.d(14): Error: pragma `mangle` mangled name characters can only be of type `char`
b4c522fa
IB
8---
9*/
10
11pragma(mangle) void f1();
12pragma(mangle, 1) void f2();
13pragma(mangle, "") void f3();
14pragma(mangle, "a"w) void f4();