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 c1b4d7f commit 5a72df2Copy full SHA for 5a72df2
clang/test/AST/Interp/literals.cpp
@@ -390,7 +390,8 @@ namespace IncDec {
390
return 1;
391
}
392
static_assert(uninit(), ""); // ref-error {{not an integral constant expression}} \
393
- // ref-note {{in call to 'uninit()'}}
+ // ref-note {{in call to 'uninit()'}} \
394
+ // expected-error {{not an integral constant expression}}
395
396
constexpr int OverFlow() { // ref-error {{never produces a constant expression}}
397
int a = INT_MAX;
0 commit comments