Debian Codegraph @

gcc/testsuite/gdc.dg/gdc4.d

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 }