| 1 |
// RUN: %clang_cc1 -fsyntax-only %s -Winvalid-utf8 -verify |
| 2 |
// expected-no-diagnostics |
| 3 |
|
| 4 |
|
| 5 |
//§ § § 😀 你好 © |
| 6 |
|
| 7 |
/*§ § § 😀 你好 ©*/ |
| 8 |
|
| 9 |
/* |
| 10 |
§ § § 😀 你好 ©©© |
| 11 |
*/ |
| 12 |
|
| 13 |
/* § § § 😀 你好 © */ |
| 14 |
/* |
| 15 |
a longer comment to exerce the vectorized code path |
| 16 |
---------------------------------------------------- |
| 17 |
αααααααααααααααααααααα // here is some unicode |
| 18 |
---------------------------------------------------- |
| 19 |
---------------------------------------------------- |
| 20 |
*/ |
| 21 |
|
| 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*/ |
| 26 |
}; |
| 27 |
/*ααααααααα*/ |