mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 05:00:16 +03:00
13 lines
349 B
D
13 lines
349 B
D
// https://issues.dlang.org/show_bug.cgi?id=23439
|
|
// PERMUTE_ARGS: -lowmem
|
|
/* TEST_OUTPUT:
|
|
---
|
|
fail_compilation/fail23439.d(13): Error: variable `fail23439.ice23439` is a thread-local class and cannot have a static initializer. Use `static this()` to initialize instead.
|
|
---
|
|
*/
|
|
class C23439
|
|
{
|
|
noreturn f23439;
|
|
}
|
|
|
|
static ice23439 = new C23439();
|