view gcc/testsuite/gdc.test/fail_compilation/ice14424.d @ 152:2b5abeee2509

update gcc11
author anatofuz
date Mon, 25 May 2020 07:50:57 +0900
parents 1830386684a0
children
line wrap: on
line source

// REQUIRED_ARGS: -o- -unittest
/*
TEST_OUTPUT:
---
fail_compilation/ice14424.d(12): Error: `tuple` has no effect in expression `tuple(__unittestL3_$n$)`
---
*/

void main()
{
    import imports.a14424;
    __traits(getUnitTests, imports.a14424);
}