aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/member.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.dg/template/member.C')
-rw-r--r--gcc/testsuite/g++.dg/template/member.C56
1 files changed, 28 insertions, 28 deletions
diff --git a/gcc/testsuite/g++.dg/template/member.C b/gcc/testsuite/g++.dg/template/member.C
index f6f264e1926..69228334ff6 100644
--- a/gcc/testsuite/g++.dg/template/member.C
+++ b/gcc/testsuite/g++.dg/template/member.C
@@ -1,28 +1,28 @@
-// { 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);
-}
-
-};
+// { 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);
+}
+
+};