libstdc++: Ensure dg-add-options comes after dg-options
authorJonathan Wakely <jwakely@redhat.com>
Fri, 26 Nov 2021 15:10:43 +0000 (15:10 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Fri, 26 Nov 2021 15:11:58 +0000 (15:11 +0000)
This is what the docs say is required.

libstdc++-v3/ChangeLog:

* testsuite/29_atomics/atomic_float/1.cc: Reorder directives.

libstdc++-v3/testsuite/29_atomics/atomic_float/1.cc

index b200836..5330ff0 100644 (file)
@@ -15,8 +15,8 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-add-options ieee }
 // { dg-options "-std=gnu++2a" }
+// { dg-add-options ieee }
 // { dg-do run { target c++2a } }
 
 #include <atomic>