Sign in
llvm
/
llvm-project
/
f779ebce55bc5d325bbc985fed3d7b214142af08
/
.
/
clang
/
test
/
AST
/
ByteCode
/
gh176549.cpp
blob: 42d055e9608c7aa6a27bed072557c92feb52d569 [
file
]
// RUN: %clang_cc1 -fexperimental-new-constant-interpreter -verify %s
const
char
a
[
4
]
=
"abc"
;
void
foo
()
{
int
i
=
0
;
i
=
1
>
(
a
+
1
,
sizeof
(
a
));
// expected-warning {{left operand of comma operator has no effect}}
}