8sa1-gcc/gcc/testsuite/g++.old-deja/g++.mike/vtable1.C
Mike Stump 9c73ec8469 decl2.c (import_export_decl): Because vtables always reference virtual functions...
* decl2.c (import_export_decl): Because vtables always reference
	virtual functions, even if they are inlined, don't allow
	-fno-implement-inlines to not emit them, instead, emit them with
	the vtable.
	* decl.c (start_function): Likewise.
Fixes vtable1.C

From-SVN: r26416
1999-04-13 18:09:57 +00:00

13 lines
177 B
C

// Build don't run:
// Special g++ Options: -fno-implement-inlines
struct type {
virtual void m1();
virtual void m2() { }
};
void type::m1() { }
int main() {
type t;
}