We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 464be7c commit b5fcd9eCopy full SHA for b5fcd9e
clang/test/SemaCXX/constant-expression-cxx11.cpp
@@ -2565,7 +2565,7 @@ constexpr GH50055::E2 GlobalInitCE = (GH50055::E2)-1;
2565
// expected-error@-1 {{constexpr variable 'GlobalInitCE' must be initialized by a constant expression}}
2566
// expected-note@-2 {{integer value -1 is outside the valid range of values [0, 7] for the enumeration type 'E2'}}
2567
2568
-namespace GH {
+namespace GH112140 {
2569
struct S {
2570
constexpr S(const int &a = ) { } // expected-error {{expected expression}}
2571
};
0 commit comments