1 // RUN: %clang_cc1 -fsyntax-only %s -Winvalid-utf8 -verify=expected 2 // RUN: %clang_cc1 -fsyntax-only %s -verify=nowarn 3 // nowarn-no-diagnostics 4 5 // This file is purposefully encoded as windows-1252 6 // be careful when modifying. 7 8 //� 9 // expected-warning@-1 {{invalid UTF-8 in comment}} 10 11 // � �������� � � � � 12 // expected-warning@-1 6{{invalid UTF-8 in comment}} 13 14 /*�*/ 15 // expected-warning@-1 {{invalid UTF-8 in comment}} 16 17 /*� �������� � � � �*/ 18 // expected-warning@-1 6{{invalid UTF-8 in comment}} 19 20 /* 21 � 22 */ 23 // expected-warning@-2 {{invalid UTF-8 in comment}} 24 25 // abcd 26 // �abcd 27 // expected-warning@-1 {{invalid UTF-8 in comment}} 28