]> gcc.gnu.org Git - gcc.git/commitdiff
dllimport1.C: Move dg-warnings.
authorAaron W. LaFramboise <aaronavay62@aaronwl.com>
Fri, 22 Oct 2004 04:00:36 +0000 (22:00 -0600)
committerAaron W. LaFramboise <aaronwl@gcc.gnu.org>
Fri, 22 Oct 2004 04:00:36 +0000 (22:00 -0600)
* g++.dg/ext/dllimport1.C: Move dg-warnings.
* g++.dg/ext/dllimport2.C: Same.
* g++.dg/ext/dllimport8.C: Same.

From-SVN: r89428

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 ae6231295cb96e2a54951013aa66ca64b83aa84f..676d8a6026a2256b8ca17a57c1596581f58cab05 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 844c92ebc5aad0d0cdcc4db4b4d7b0f4baa91b26..253631276a7086024298e1d7bb6b0a59e4b72275 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 8acad5b0d76255460b4f9ab3a9a46fbadca0b33f..7b3f68575de28df6bfd6bdf6b9c462a867e16d9d 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 9052831774b899bf48dd6323750aabe15dca33be..7bc2b46b702e1da7e117bee091ea83cde056513c 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()
This page took 0.104879 seconds and 5 git commands to generate.