Strip carriage returns
authorZack Weinberg <zack@gcc.gnu.org>
Tue, 22 Apr 2003 23:41:28 +0000 (23:41 +0000)
committerZack Weinberg <zack@gcc.gnu.org>
Tue, 22 Apr 2003 23:41:28 +0000 (23:41 +0000)
From-SVN: r65969

gcc/fixinc/tests/base/testing.h
gcc/testsuite/g++.dg/template/member.C
gcc/testsuite/gcc.c-torture/execute/20011126-1.c

index fbf45e344f55a96cb8daaaeb1acbcbfe5ad909c4..5e660f86dd886cc88e87638dccba55e3abeb21c7 100644 (file)
@@ -113,9 +113,9 @@ extern size_t
 
 
 #if defined( UNDEFINE_NULL_CHECK )
-#ifndef NULL\r
-#define NULL 0UL\r
-#endif\r
+#ifndef NULL
+#define NULL 0UL
+#endif
 #ifndef NULL
 #define NULL   ((void*)0)
 #endif
index f6f264e19263c0e74a1f04d9e6cd2b51e7ce4d05..69228334ff6d14fcc1b33b6baed50514d6188f5c 100644 (file)
@@ -1,28 +1,28 @@
-// { dg-do compile }\r
-\r
-\r
-class BIXSet{\r
-int z[4];\r
-public:\r
-void f(BIXSet &other){\r
-z[0]=other.z[0];\r
-}\r
-\r
-};\r
-\r
-class TestCase2{\r
-public:\r
-BIXSet a,b;\r
-\r
-public:\r
-void run(void){\r
-BIXSet x,y;\r
-process(0,x,y);\r
-}\r
-\r
-protected:\r
-template<class BS> void process(const int d,BS &en,BS &lb){\r
-a.f(en);b.f(lb);\r
-}\r
-\r
-};\r
+// { dg-do compile }
+
+
+class BIXSet{
+int z[4];
+public:
+void f(BIXSet &other){
+z[0]=other.z[0];
+}
+
+};
+
+class TestCase2{
+public:
+BIXSet a,b;
+
+public:
+void run(void){
+BIXSet x,y;
+process(0,x,y);
+}
+
+protected:
+template<class BS> void process(const int d,BS &en,BS &lb){
+a.f(en);b.f(lb);
+}
+
+};
index 6c54043a4580a36f11377616481780e750700d59..ede938b00427b8e2445f1d7c6eb43261a590bad3 100644 (file)
@@ -1,19 +1,19 @@
-/* Produced a overflow in ifcvt.c, causing S to contain 0xffffffff7fffffff.  */\r
-\r
-int a = 1;\r
-\r
-int main ()\r
-{\r
-  long long s;\r
-\r
-  s = a;\r
-  if (s < 0)\r
-    s = -2147483648LL;\r
-  else\r
-    s = 2147483647LL;\r
-\r
-  if (s < 0)\r
-    abort ();\r
-\r
-  return 0;\r
-}\r
+/* Produced a overflow in ifcvt.c, causing S to contain 0xffffffff7fffffff.  */
+
+int a = 1;
+
+int main ()
+{
+  long long s;
+
+  s = a;
+  if (s < 0)
+    s = -2147483648LL;
+  else
+    s = 2147483647LL;
+
+  if (s < 0)
+    abort ();
+
+  return 0;
+}