blob: 6ad79b85b1d8b1c61370d380dfb7ceb142248eaf (
plain)
1
2
3
4
5
6
7
8
9
|
// { dg-options "-std=c++0x" }
// Test user-defined literals.
// Test error on non-function declaration.
double operator"" _baddecl; // { dg-error "as non-function" }
template<char...>
int operator"" _badtmpldecl; // { dg-error "as non-function" }
|