llvm.org GIT mirror llvm / 23280ff
Provide definitions for all functions. ICC refuses to compile a class in an anonymous namespace if some functions aren't defined. Fixes PR13477. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167676 91177308-0d34-0410-b5e6-96231b3b80d8 Benjamin Kramer 7 years ago
1 changed file(s) with 11 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
6464 struct V6 : S1 { virtual ~V6(); };
6565 struct V7 : virtual V2, virtual V6 { virtual ~V7(); };
6666 struct V8 : V5, virtual V6, V7 { double zz; virtual ~V8(); };
67
68 double S6::f() { return 0.0; }
69 float D2::g() { return 0.0f; }
70 V1::~V1() {}
71 V2::~V2() {}
72 V3::~V3() {}
73 V4::~V4() {}
74 V5::~V5() {}
75 V6::~V6() {}
76 V7::~V7() {}
77 V8::~V8() {}
6778
6879 // Ensure alignment is a compile-time constant.
6980 char LLVM_ATTRIBUTE_UNUSED test_arr1