aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/pr90462.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.dg/pr90462.C')
-rw-r--r--gcc/testsuite/g++.dg/pr90462.C49
1 files changed, 0 insertions, 49 deletions
diff --git a/gcc/testsuite/g++.dg/pr90462.C b/gcc/testsuite/g++.dg/pr90462.C
deleted file mode 100644
index b35e419..0000000
--- a/gcc/testsuite/g++.dg/pr90462.C
+++ /dev/null
@@ -1,49 +0,0 @@
-/* { dg-options "-Wdeprecated-copy -fno-diagnostics-json-formatting -fdiagnostics-format=json" } */
-
-template <class> class b;
-struct B {
- typedef b<char> *c;
-};
-class d {
-public:
- B::c operator->();
-};
-template <class> struct e;
-class f {
- typedef int g;
-};
-template <class, class> class h;
-template <class i> class b {
-public:
- i j;
- i k;
- int l;
- void assign() {
- int m;
- h<i, int> n(&m);
- n.o(&j, &k, l);
- }
-};
-template <class i, class> class s : f { s &p(const i *, const i *, g); };
-template <class i, class t> s<i, t> &s<i, t>::p(const i *, const i *, g) {
- d q;
- q->assign();
-}
-struct G {
- G();
- G(int);
- G(G &);
-};
-template <class i, class> class h {
-public:
- h(int *);
- void o(const i *, const i *, unsigned);
- i r();
-};
-template <class i, class t> void h<i, t>::o(const i *, const i *, unsigned) {
- G a;
- a = r();
-}
-template s<char, e<char>> &s<char, e<char>>::p(const char *, const char *, g);
-
-/* { dg-regexp ".*" } */