☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
b19730.d
☽
☼
gcc/testsuite/gdc.test/fail_compilation/b19730.d
code
plain
raw
1
/*
2
TEST_OUTPUT:
3
---
4
fail_compilation/b19730.d(10): Error: found `)` while expecting `=` or identifier
5
fail_compilation/b19730.d(11): Error: found `)` while expecting `=` or identifier
6
---
7
*/
8
void func() {
9
bool x;
10
if (const x) {}
11
if (auto x) {}
12
}