aboutsummaryrefslogtreecommitdiff
path: root/elf/tst-unique4.h
diff options
context:
space:
mode:
authorPiotr Bury <pbury@goahead.com>2011-05-12 21:59:09 -0400
committerUlrich Drepper <drepper@gmail.com>2011-05-12 21:59:09 -0400
commit320a5dc07b907b1e640fd11ce49a04aa2b367711 (patch)
tree2013cd7929bfc4fc4115233318c216cea60b5b79 /elf/tst-unique4.h
parentf574184a0e4b6ed69a5d9a3234543fba6d2a7367 (diff)
downloadglibc-320a5dc07b907b1e640fd11ce49a04aa2b367711.zip
glibc-320a5dc07b907b1e640fd11ce49a04aa2b367711.tar.gz
glibc-320a5dc07b907b1e640fd11ce49a04aa2b367711.tar.bz2
Fix resizing able for unique symbols when adding symbol for copy relocation
Diffstat (limited to 'elf/tst-unique4.h')
-rw-r--r--elf/tst-unique4.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/elf/tst-unique4.h b/elf/tst-unique4.h
new file mode 100644
index 0000000..2d377f5
--- /dev/null
+++ b/elf/tst-unique4.h
@@ -0,0 +1,7 @@
+// BZ 12511
+template<int N>
+struct S
+{
+ static int i;
+ static const int j;
+};