]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
c++: Adjust testcase target [pr94946]
authorNathan Sidwell <nathan@acm.org>
Wed, 6 May 2020 19:15:32 +0000 (12:15 -0700)
committerNathan Sidwell <nathan@acm.org>
Wed, 6 May 2020 19:15:32 +0000 (12:15 -0700)
This uses a target spec to test only on ia32 targets

gcc/testsuite/g++.dg/ext/attr-parm-1.C

index 37214e63c01172b769735938268c344e1b2eddbd..cc53a2ce328b964fb8d0de38a7207b56ae4a1244 100644 (file)
@@ -1,5 +1,4 @@
-// { dg-do compile { target { i?86-*-* x86_64-*-* } } }
-// { dg-options -m32 }
+// { dg-do compile { target { { i?86-*-* x86_64-*-* } && ia32 } } }
 // PR 94946
 class a {
   template <typename b> a(b (*)());