* gold/arm.cc: Added support for R_ARM_V4BX relocation
[deliverable/binutils-gdb.git] / gold / testsuite / many_sections_test.cc
index dcb1cd2a408fa248b97db679eab5a45903602f9a..e4b74c3484fa0fc4c7bc0b299322d4e3f109d93e 100644 (file)
 
 #include "many_sections_define.h"
 
+// This tests a section group.
+template<typename T>
+class C
+{
+ public:
+  static T val() { return C::val_; }
+ private:
+  static T val_;
+};
+
+template<typename T>
+T C<T>::val_;
+
 int
 main(int, char**)
 {
 #include "many_sections_check.h"
+  assert(C<int>::val() == 0);
   return 0;
 }
This page took 0.032924 seconds and 4 git commands to generate.