]>
Commit | Line | Data |
---|---|---|
b4c522fa IB |
1 | /* |
2 | TEST_OUTPUT: | |
3 | --- | |
5fee5ec3 IB |
4 | fail_compilation/ice12235.d(14): Error: forward reference to inferred return type of function `__lambda1` |
5 | fail_compilation/ice12235.d(15): Error: forward reference to inferred return type of function `__lambda1` | |
6 | fail_compilation/ice12235.d(15): while evaluating `pragma(msg, __lambda1.mangleof)` | |
b4c522fa IB |
7 | --- |
8 | */ | |
9 | ||
10 | void main() | |
11 | { | |
12 | (){ | |
13 | int x; | |
14 | enum s = __traits(parent, x).mangleof; | |
15 | pragma(msg, __traits(parent, x).mangleof); | |
16 | }(); | |
17 | } |