OSDN Git Service

* g++.dg/ext/dllimport1.C: Move dg-warnings.
authoraaronwl <aaronwl@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 22 Oct 2004 04:00:36 +0000 (04:00 +0000)
committeraaronwl <aaronwl@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 22 Oct 2004 04:00:36 +0000 (04:00 +0000)
* g++.dg/ext/dllimport2.C: Same.
* g++.dg/ext/dllimport8.C: Same.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89428 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ext/dllimport1.C
gcc/testsuite/g++.dg/ext/dllimport2.C
gcc/testsuite/g++.dg/ext/dllimport8.C

index ae62312..676d8a6 100644 (file)
@@ -1,3 +1,9 @@
+2004-10-22  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
+
+       * g++.dg/ext/dllimport1.C: Move dg-warnings.
+       * g++.dg/ext/dllimport2.C: Same.
+       * g++.dg/ext/dllimport8.C: Same.
+
 2004-10-21  Mark Mitchell  <mark@codesourcery.com>
 
        PR c++/10841
index 844c92e..2536312 100644 (file)
@@ -5,14 +5,14 @@
 class __attribute__((dllimport)) Foo
 {
  public:
-  virtual void dummy_foo_func(void)
-    {} // { dg-warning "inline function" }
+  virtual void dummy_foo_func(void)    // { dg-warning "inline function" }
+    {}
   void Foo::dummy_foo_fun2();
   virtual ~Foo();  //  avoid warning  
 };
 
-void Foo::dummy_foo_fun2()
-{      //  { dg-warning "defined" }
+void Foo::dummy_foo_fun2()     //  { dg-warning "defined" }
+{
 }
 
 class Bar : public Foo
index 8acad5b..7b3f685 100644 (file)
@@ -15,8 +15,8 @@ void Foo(void)
     Boz++;      
   }
  
-void Bar(void)
-  {                    // { dg-warning "defined" }
+void Bar(void)         // { dg-warning "defined" }
+  {
   }
 
 void Baz(void);                // { dg-warning "redeclared" }
index 9052831..7bc2b46 100644 (file)
@@ -12,12 +12,12 @@ struct  __attribute__((dllimport)) Foo
     static void static_func2();
  };
 
-void Foo::static_func1()
-  {            //  { dg-warning "defined" }
+void Foo::static_func1()       //  { dg-warning "defined" }
+  {
   }
 
-inline void Foo::static_func2()
- {             //  { dg-warning "inline function" }
+inline void Foo::static_func2()        //  { dg-warning "inline function" }
+ {
  }
 
 void testfoo()