* g++.dg/pr82725.C: Move to ...
* g++.dg/cpp0x/pr82725.C: ... here. Add c++11 target directive.
From-SVN: r254242
+2017-10-30 Uros Bizjak <ubizjak@gmail.com>
+
+ * g++.dg/pr82725.C: Move to ...
+ * g++.dg/cpp0x/pr82725.C: ... here. Add c++11 target directive.
+
2017-10-30 Steven G. Kargl <kargl@gcc.gnu.org>
* gfortran.dg/dtio_13.f90: Remove TODO comment and dg-error test.
--- /dev/null
+// { dg-do compile { target { { i?86-*-* x86_64-*-* } && c++11 } } }
+// { dg-require-effective-target pie }
+// { dg-options "-O2 -fpie -mtls-direct-seg-refs" }
+
+struct string
+{
+ __SIZE_TYPE__ length;
+ const char *ptr;
+};
+
+string
+tempDir ()
+{
+ thread_local string cache;
+ return cache;
+}
+++ /dev/null
-// { dg-do compile { target i?86-*-* x86_64-*-* } }
-// { dg-require-effective-target pie }
-// { dg-options "-O2 -fpie -mtls-direct-seg-refs" }
-
-struct string
-{
- __SIZE_TYPE__ length;
- const char *ptr;
-};
-
-string
-tempDir ()
-{
- thread_local string cache;
- return cache;
-}