-/* Test pragma message directive from\r
- http://msdn.microsoft.com/en-us/library/x7dkzch2.aspx */\r
-\r
-// message: Sends a string literal to the standard output without terminating\r
-// the compilation.\r
-// #pragma message(messagestring)\r
-// OR\r
-// #pragma message messagestring\r
-//\r
-// RUN: %clang_cc1 -fsyntax-only -verify %s\r
-#define STRING2(x) #x\r
-#define STRING(x) STRING2(x)\r
-#pragma message(":O I'm a message! " STRING(__LINE__)) // expected-warning {{:O I'm a message! 13}}\r
-#pragma message ":O gcc accepts this! " STRING(__LINE__) // expected-warning {{:O gcc accepts this! 14}}\r
+/* Test pragma message directive from
+ http://msdn.microsoft.com/en-us/library/x7dkzch2.aspx */
+
+// message: Sends a string literal to the standard output without terminating
+// the compilation.
+// #pragma message(messagestring)
+// OR
+// #pragma message messagestring
+//
+// RUN: %clang_cc1 -fsyntax-only -verify %s
+#define STRING2(x) #x
+#define STRING(x) STRING2(x)
+#pragma message(":O I'm a message! " STRING(__LINE__)) // expected-warning {{:O I'm a message! 13}}
+#pragma message ":O gcc accepts this! " STRING(__LINE__) // expected-warning {{:O gcc accepts this! 14}}
-// RUN: %clang_cc1 %s -fsyntax-only -Wmicrosoft -verify -fms-extensions\r
-\r
-\r
-struct A\r
-{\r
- int a[]; /* expected-warning {{flexible array member 'a' in otherwise empty struct is a Microsoft extension}} */\r
-};\r
-\r
-struct C {\r
- int l;\r
- union {\r
- int c1[]; /* expected-warning {{flexible array member 'c1' in a union is a Microsoft extension}} */\r
- char c2[]; /* expected-warning {{flexible array member 'c2' in a union is a Microsoft extension}} */\r
- };\r
-};\r
-\r
-\r
-struct D {\r
- int l;\r
- int D[];\r
-};\r
+// RUN: %clang_cc1 %s -fsyntax-only -Wmicrosoft -verify -fms-extensions
+
+
+struct A
+{
+ int a[]; /* expected-warning {{flexible array member 'a' in otherwise empty struct is a Microsoft extension}} */
+};
+
+struct C {
+ int l;
+ union {
+ int c1[]; /* expected-warning {{flexible array member 'c1' in a union is a Microsoft extension}} */
+ char c2[]; /* expected-warning {{flexible array member 'c2' in a union is a Microsoft extension}} */
+ };
+};
+
+
+struct D {
+ int l;
+ int D[];
+};