Sign in
gnu
/
gcc.git
/
3e4ced9de1f1c6444eae44c1fed493742c345bc6
/
.
/
gcc
/
testsuite
/
c-c++-common
/
analyzer
/
fold-string-to-char.c
blob: 4eb08c072902bc8bd465190de830cebc1cb602af [
file
] [
log
] [
blame
]
#include
"../../gcc.dg/analyzer/analyzer-decls.h"
void
test_1
(
void
)
{
char
str
[]
=
"Hello"
;
char
*
ptr
=
str
;
__analyzer_eval
(
ptr
[
0
]
==
'H'
);
/* { dg-warning "TRUE" } */
}