Debian Codegraph @

gcc/testsuite/g++.dg/ext/bitint4.C

raw
1 // PR c/102989
2 // { dg-do compile { target c++11 } }
3 // { dg-options "" }
4
5 constexpr int operator""wb (unsigned long long) { return 0; } // { dg-warning "reserved for future standardization" }
6 constexpr int operator""uwb (unsigned long long) { return 1; } // { dg-warning "reserved for future standardization" }
7
8 static_assert (-42wb == 0, "");
9 static_assert (81uwb == 1, "");