projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1b4d7f
)
[clang][Interp] Add missing expected test output
author
Timm Bäder
<tbaeder@redhat.com>
Fri, 28 Oct 2022 16:06:40 +0000
(18:06 +0200)
committer
Timm Bäder
<tbaeder@redhat.com>
Fri, 28 Oct 2022 16:07:10 +0000
(18:07 +0200)
clang/test/AST/Interp/literals.cpp
patch
|
blob
|
history
diff --git
a/clang/test/AST/Interp/literals.cpp
b/clang/test/AST/Interp/literals.cpp
index
739910d
..
1c6aa4e
100644
(file)
--- a/
clang/test/AST/Interp/literals.cpp
+++ b/
clang/test/AST/Interp/literals.cpp
@@
-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;