☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gdc.dg
/
gdc4.d
☽
☼
gcc/testsuite/gdc.dg/gdc4.d
code
plain
raw
1
// https://bugzilla.gdcproject.org/show_bug.cgi?id=4
2
// { dg-do compile }
3
4
void test4()
5
{
6
string str = "allo";
7
static assert(!__traits(compiles, str.reverse));
8
static assert(!__traits(compiles, str.sort));
9
}