Sign in
gnu
/
gcc
/
a6d3012b274f38b20e2a57162106f625746af6c6
/
.
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
fail212.d
blob: 63c573eb63d2d13ae58f88d2f8c7f889d1c5e779 [
file
] [
log
] [
blame
]
/*
TEST_OUTPUT:
---
fail_compilation/fail212.d(14): Error: function fail212.S.bar without 'this' cannot be const
---
*/
struct
S
{
void
foo
()
const
{
}
static
void
bar
()
const
{
}
}