projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove alloca(0) calls
[deliverable/binutils-gdb.git]
/
gold
/
testsuite
/
odr_violation1.cc
diff --git
a/gold/testsuite/odr_violation1.cc
b/gold/testsuite/odr_violation1.cc
index 6c404964c1e4201d43da312d33dac3f4b5861713..8b37cea7e2da36ab86b262440198f4440d469756 100644
(file)
--- a/
gold/testsuite/odr_violation1.cc
+++ b/
gold/testsuite/odr_violation1.cc
@@
-1,4
+1,5
@@
#include <algorithm>
+#include "odr_header1.h"
class Ordering {
public:
@@
-15,3
+16,8
@@
extern "C" int OverriddenCFunction(int i) __attribute__ ((weak));
extern "C" int OverriddenCFunction(int i) {
return i;
}
+
+// Instantiate the Derived vtable, without optimization.
+OdrBase* CreateOdrDerived1() {
+ return new OdrDerived;
+}
This page took
0.023602 seconds
and
4
git commands to generate.