gcc/testsuite/gdc.test/fail_compilation/fail17419.d
raw| 1 | |
| 2 | // https://issues.dlang.org/show_bug.cgi?id=17419 |
| 3 | /* TEST_OUTPUT: |
| 4 | --- |
| 5 | fail_compilation/fail17419.d(10): Error: argument to `__traits(getLinkage, 64)` is not a declaration |
| 6 | fail_compilation/fail17419.d(11): Error: expected 1 arguments for `getLinkage` but had 2 |
| 7 | --- |
| 8 | */ |
| 9 | |
| 10 | enum s = __traits(getLinkage, 8 * 8); |
| 11 | enum t = __traits(getLinkage, 8, 8); |