9c73ec8469
* 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
13 lines
177 B
C
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;
|
|
}
|