Fortran: Fix PR 47485.
[gcc.git] / gcc / testsuite / g++.dg / cpp0x / udlit-nounder-neg.C
blob21d6c475ef85a3ce334ce12251cb68c5bc9fb083
1 // { dg-do compile { target c++11 } }
3 // Test user-defined literals.
4 // Test warning on declaration without leading underscore.
6 long double operator ""nounder(long double); // { dg-warning "literal operator suffixes not preceded by|are reserved for future standardization" }
8 template<char...>
9   int operator ""nounder(); // { dg-warning "literal operator suffixes not preceded by|are reserved for future standardization" }