Sign in
llvm
/
llvm-project
/
clang
/
dd66535e81794aab2290403319b2b4f100189292
/
.
/
test
/
Lexer
/
multi-char-constants.c
blob: 3281c68d1fb2277f3b9a360efe64d20e3b3eb306 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -fsyntax-only -verify -Wfour-char-constants -pedantic-errors %s
int
x
=
'ab'
;
// expected-warning {{multi-character character constant}}
int
y
=
'abcd'
;
// expected-warning {{multi-character character constant}}