* 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
+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
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
Boz++;
}
-void Bar(void)
- { // { dg-warning "defined" }
+void Bar(void) // { dg-warning "defined" }
+ {
}
void Baz(void); // { dg-warning "redeclared" }
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()