Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gdc.test/fail_compilation/fail17419.d @ 152:2b5abeee2509
update gcc11
author | anatofuz |
---|---|
date | Mon, 25 May 2020 07:50:57 +0900 |
parents | 1830386684a0 |
children |
line wrap: on
line source
// https://issues.dlang.org/show_bug.cgi?id=17419 /* TEST_OUTPUT: --- fail_compilation/fail17419.d(10): Error: argument to `__traits(getLinkage, 64)` is not a declaration fail_compilation/fail17419.d(11): Error: expected 1 arguments for `getLinkage` but had 2 --- */ enum s = __traits(getLinkage, 8 * 8); enum t = __traits(getLinkage, 8, 8);