openmp: Fix max_vf testcases with -march=cascadelake
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / udlit-namespace-ambiguous.C
blobc67be390f8b8662ccaade6b9e91cc6bd2d88f7f3
1 // { dg-do compile { target c++11 } }
3 int operator""_t (long long unsigned); // { dg-message "note: candidate"}
5 namespace foo {
6   int operator""_t (long long unsigned);  // { dg-message "note: candidate"}
9 using namespace foo;
10 int var = 10_t; // { dg-error "call of overloaded | is ambiguous" }