blob: a1c0a2f413a0c47e1a0d14a6ae4f917e36470fa6 [file] [log] [blame]
// P1949R7
// { dg-do compile { target c++11 } }
// { dg-options "-pedantic-errors" }
constexpr int À = 1; // U+00C0
constexpr int À = 2; // U+0041 U+0300 { dg-error "is not in NFC" }
constexpr int gv1 = \u00c0;
constexpr int gv2 = A\u0300; // { dg-error "is not in NFC" }
static_assert(gv1 == 1, "");
static_assert(gv2 == 2, "");