Skip to content

Commit 5a72df2

Browse files
committed
[clang][Interp] Add missing expected test output
1 parent c1b4d7f commit 5a72df2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

clang/test/AST/Interp/literals.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,8 @@ namespace IncDec {
390390
return 1;
391391
}
392392
static_assert(uninit(), ""); // ref-error {{not an integral constant expression}} \
393-
// ref-note {{in call to 'uninit()'}}
393+
// ref-note {{in call to 'uninit()'}} \
394+
// expected-error {{not an integral constant expression}}
394395

395396
constexpr int OverFlow() { // ref-error {{never produces a constant expression}}
396397
int a = INT_MAX;

0 commit comments

Comments
 (0)