Fix line endings.
authorJohn McCall <rjmccall@apple.com>
Tue, 22 May 2012 21:28:07 +0000 (21:28 +0000)
committerJohn McCall <rjmccall@apple.com>
Tue, 22 May 2012 21:28:07 +0000 (21:28 +0000)
llvm-svn: 157287

clang/test/Parser/MicrosoftExtensions.cpp

index 351fa73..9404788 100644 (file)
@@ -297,28 +297,23 @@ int main () {
   missing_template_keyword<int>();
 }
 
+namespace access_protected_PTM {
+  class A {
+  protected:
+    void f(); // expected-note {{must name member using the type of the current context 'access_protected_PTM::B'}}
+  };
 
+  class B : public A{
+  public:
+    void test_access();
+    static void test_access_static();
+  };
 
-\r
-namespace access_protected_PTM {\r
-\r
-class A {\r
-protected:\r
-  void f(); // expected-note {{must name member using the type of the current context 'access_protected_PTM::B'}}\r
-};\r
-\r
-class B : public A{\r
-public:\r
-  void test_access();\r
-  static void test_access_static();\r
-};\r
-\r
-void B::test_access() {\r
-  &A::f; // expected-error {{'f' is a protected member of 'access_protected_PTM::A'}}\r
-}\r
-\r
-void B::test_access_static() {\r
-  &A::f;\r
-}\r
-\r
-}
\ No newline at end of file
+  void B::test_access() {
+    &A::f; // expected-error {{'f' is a protected member of 'access_protected_PTM::A'}}
+  }
+
+  void B::test_access_static() {
+    &A::f;
+  }
+}