[clang][Interp] Add missing expected test output

This commit is contained in:
Timm Bäder 2022-10-28 18:06:40 +02:00
parent c1b4d7f091
commit 5a72df21cb
1 changed files with 2 additions and 1 deletions

View File

@ -390,7 +390,8 @@ namespace IncDec {
return 1;
}
static_assert(uninit(), ""); // ref-error {{not an integral constant expression}} \
// ref-note {{in call to 'uninit()'}}
// ref-note {{in call to 'uninit()'}} \
// expected-error {{not an integral constant expression}}
constexpr int OverFlow() { // ref-error {{never produces a constant expression}}
int a = INT_MAX;