1 // RUN: %clang_cc1 -fsyntax-only %s -Winvalid-utf8 -verify=expected
2 // RUN: %clang_cc1 -fsyntax-only %s -verify=nowarn
3 // nowarn-no-diagnostics
5 // This file is purposefully encoded as windows-1252
6 // be careful when modifying.
9 // expected-warning@-1 {{invalid UTF-8 in comment}}
12 // expected-warning@-1 6{{invalid UTF-8 in comment}}
15 // expected-warning@-1 {{invalid UTF-8 in comment}}
17 /*€ ‚ƒ„…†‡ˆ‰ Š ‹ Œ Ž*/
18 // expected-warning@-1 6{{invalid UTF-8 in comment}}
23 // expected-warning@-2 {{invalid UTF-8 in comment}}
27 // expected-warning@-1 {{invalid UTF-8 in comment}}