Update copyright years
[deliverable/binutils-gdb.git] / gold / testsuite / many_sections_test.cc
index dcb1cd2a408fa248b97db679eab5a45903602f9a..44530e216049b1f8f9f388e8141c37b428d6bfb5 100644 (file)
@@ -1,6 +1,6 @@
 // many_sections_test.cc -- test lots of sections for gold
 
-// Copyright 2008 Free Software Foundation, Inc.
+// Copyright (C) 2008-2014 Free Software Foundation, Inc.
 // Written by Ian Lance Taylor <iant@google.com>.
 
 // This file is part of gold.
 
 #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.024238 seconds and 4 git commands to generate.