Skip to content

Commit b5fcd9e

Browse files
authored
add gh issue id
1 parent 464be7c commit b5fcd9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/test/SemaCXX/constant-expression-cxx11.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2565,7 +2565,7 @@ constexpr GH50055::E2 GlobalInitCE = (GH50055::E2)-1;
25652565
// expected-error@-1 {{constexpr variable 'GlobalInitCE' must be initialized by a constant expression}}
25662566
// expected-note@-2 {{integer value -1 is outside the valid range of values [0, 7] for the enumeration type 'E2'}}
25672567

2568-
namespace GH {
2568+
namespace GH112140 {
25692569
struct S {
25702570
constexpr S(const int &a = ) { } // expected-error {{expected expression}}
25712571
};

0 commit comments

Comments
 (0)