summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/torture/pr42714.C
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2017-11-13 16:28:05 +0000
committerSam Thursfield <sam.thursfield@codethink.co.uk>2017-11-13 16:29:09 +0000
commit03ac50856c9fc8c96b7a17239ee40a10397750a7 (patch)
treea648c6d3428e4757e003f6ed1748adb9613065db /gcc/testsuite/g++.dg/torture/pr42714.C
parent34efdaf078b01a7387007c4e6bde6db86384c4b7 (diff)
downloadgcc-tarball-03ac50856c9fc8c96b7a17239ee40a10397750a7.tar.gz
gcc 7.2.0
This is imported manually due to a bug in the tarball import script. See the baserock-dev mailing list archives (November 2017) for a more detailed explaination of the issue.
Diffstat (limited to 'gcc/testsuite/g++.dg/torture/pr42714.C')
-rw-r--r--gcc/testsuite/g++.dg/torture/pr42714.C37
1 files changed, 0 insertions, 37 deletions
diff --git a/gcc/testsuite/g++.dg/torture/pr42714.C b/gcc/testsuite/g++.dg/torture/pr42714.C
deleted file mode 100644
index b1b2d856ef..0000000000
--- a/gcc/testsuite/g++.dg/torture/pr42714.C
+++ /dev/null
@@ -1,37 +0,0 @@
-struct QVectorData {
- static QVectorData shared_null;
-};
-template <typename T> class QVector {
- union {
- QVectorData *d;
- };
-public:
- inline QVector() : d(&QVectorData::shared_null) { }
- inline QVector(const QVector<T> &v) : d(v.d) { }
-};
-class QXmlStreamAttribute { };
-class QXmlStreamAttributes : public QVector<QXmlStreamAttribute> { };
-class __attribute__ ((visibility("default"))) Smoke {
-public:
- union StackItem;
- typedef StackItem* Stack;
- typedef short Index;
-};
-class SmokeBinding { };
-namespace __smokeqt {
- class x_QXmlStreamAttributes : public QXmlStreamAttributes {
- SmokeBinding* _binding;
- public:
- static void x_11(Smoke::Stack x) {
- x_QXmlStreamAttributes* xret = new x_QXmlStreamAttributes();
- }
- explicit x_QXmlStreamAttributes() : QXmlStreamAttributes() { }
- };
- void xcall_QXmlStreamAttributes(Smoke::Index xi, void *obj,
- Smoke::Stack args)
- {
- switch(xi) {
- case 11: x_QXmlStreamAttributes::x_11(args);
- }
- }
-}