1 /* Test pragma region directive from
2 http://msdn.microsoft.com/en-us/library/b6xkz944(v=vs.80).aspx */
4 // Editor-only pragma, just skipped by compiler.
6 // #pragma region optional name
7 // #pragma endregion optional comment
9 // RUN: %clang_cc1 -fsyntax-only -verify -Wall -fms-extensions %s
15 #pragma region long name
18 #pragma endregion long comment
22 __pragma(region
) // no sense, but ignored
23 _Pragma("region")// ditto
25 #pragma region2 // expected-warning {{unknown pragma ignored}}
29 //#pragma endregion inner
33 // {{unclosed pragma region}} - region mismatches is not detected yet