m68k: Add -mlra
[official-gcc.git] / gcc / testsuite / gdc.test / compilable / uda.d
blobaa6277b021b07721bc66370fd1aa8bd7e37f0ddb
1 /************************************************/
2 // https://issues.dlang.org/show_bug.cgi?id=15180
3 // [REG2.069.0-b1] Segfault with empty struct used as UDA
5 struct foo { }
6 @foo bar () { }
8 /************************************************/
10 // https://issues.dlang.org/show_bug.cgi?id=23241
12 alias feynman = int;
13 enum get = __traits(getAttributes, feynman);
14 static assert(get.length == 0);