[Clang/AMDGPU] Zero sized arrays not allowed in HIP device code. (#113470)
[llvm-project.git] / clang / test / Lexer / comment-utf8.c
blob1b3009be9520581a6956608b62f2f5b19a108361
1 // RUN: %clang_cc1 -fsyntax-only %s -Winvalid-utf8 -verify
2 // expected-no-diagnostics
5 //§ § § 😀 你好 ©
7 /*§ § § 😀 你好 ©*/
9 /*
10 § § § 😀 你好 ©©©
13 /* § § § 😀 你好 © */
15 a longer comment to exerce the vectorized code path
16 ----------------------------------------------------
17 αααααααααααααααααααααα // here is some unicode
18 ----------------------------------------------------
19 ----------------------------------------------------
22 // The following test checks that a short comment is not merged
23 // with a subsequent long comment containing utf-8
24 enum a {
25 x /* 01234567890ABCDEF*/
27 /*ααααααααα*/