Support R_SPARC_WDISP10 and R_SPARC_H34.
[external/binutils.git] / gold / testsuite / many_sections_test.cc
index dcb1cd2..e4b74c3 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;
 }