mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 21:21:48 +03:00
12 lines
252 B
D
12 lines
252 B
D
/*
|
|
TEST_OUTPUT:
|
|
---
|
|
fail_compilation/b19730.d(10): Error: found `)` while expecting `=` or identifier
|
|
fail_compilation/b19730.d(11): Error: found `)` while expecting `=` or identifier
|
|
---
|
|
*/
|
|
void func() {
|
|
bool x;
|
|
if (const x) {}
|
|
if (auto x) {}
|
|
}
|