Sign in
gnu
/
gcc
/
a6d3012b274f38b20e2a57162106f625746af6c6
/
.
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
test17307.d
blob: 470cfed7eba456f571f8810f0e8c457d47f46b29 [
file
] [
log
] [
blame
]
/*
TEST_OUTPUT:
---
fail_compilation/test17307.d(9): Error: anonymous struct can only be a part of an aggregate, not module `test17307`
---
* https://issues.dlang.org/show_bug.cgi?id=17307
*/
struct
{
enum
bitsPerWord
=
size_t
;
}
void
main
()
{
}