Commit 562e41c8 by Karl Schimpf

Fix cross test test_global.

The definition of ExternName4 in crosstest/test_global_main.cpp was not defined as a pointer, but was in crosstest/test_global.cpp. As a result, that name was not linked properly. BUG=None R=stichnot@chromium.org Review URL: https://codereview.chromium.org/651673003
parent df6f9d18
......@@ -26,11 +26,16 @@ namespace Subzero_ {
int ExternName1 = 36363;
float ExternName2 = 357.05e-10;
char ExternName3[] = {'a', 'b', 'c'};
struct {
struct Data {
int a;
float b;
double d;
} ExternName4 = {-111, 2.69, 55.19};
};
struct Data SimpleData = {-111, 2.69, 55.19};
struct Data *ExternName4 = &SimpleData;
double ExternName5 = 3.44e26;
int main(int argc, char **argv) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment