OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge remote-tracking branch 'gnu/gcc-4_7-branch' into rework
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
local7.C
diff --git a/gcc/testsuite/g++.dg/template/local7.C
b/gcc/testsuite/g++.dg/template/local7.C
new file mode 100644
(file)
index 0000000..
3045534
--- /dev/null
+++ b/
gcc/testsuite/g++.dg/template/local7.C
@@ -0,0
+1,15
@@
+// PR c++/53599
+
+template <typename T>
+int foo ()
+{
+ struct F;
+ struct G
+ {
+ static int F::* bar();
+ };
+
+ return sizeof(G);
+}
+
+int z = foo <int> ();