aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2020-07-28 11:32:36 +0200
committerJakub Jelinek <jakub@redhat.com>2020-07-28 11:32:36 +0200
commitf40888fff7c4dab6d654ae4f7598f23bc472d2d1 (patch)
tree694d6818a87f6d3a3313b1f3d54ff44fe6562815 /gcc/testsuite
parentf9264b9008386ac3b5c795472c222fa524b127b0 (diff)
downloadgcc-f40888fff7c4dab6d654ae4f7598f23bc472d2d1.zip
gcc-f40888fff7c4dab6d654ae4f7598f23bc472d2d1.tar.gz
gcc-f40888fff7c4dab6d654ae4f7598f23bc472d2d1.tar.bz2
testsuite: Fix up nontype-subob1.C for targets with short int, int or long long ssize_t
2020-07-28 Jakub Jelinek <jakub@redhat.com> * g++.dg/cpp2a/nontype-subob1.C: Allow s1, i1 or x1 instead of l1 for targets with short, int or long long ssize_t.
Diffstat (limited to 'gcc/testsuite')
-rw-r--r--gcc/testsuite/g++.dg/cpp2a/nontype-subob1.C2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/g++.dg/cpp2a/nontype-subob1.C b/gcc/testsuite/g++.dg/cpp2a/nontype-subob1.C
index 4c1633e..9e5e888 100644
--- a/gcc/testsuite/g++.dg/cpp2a/nontype-subob1.C
+++ b/gcc/testsuite/g++.dg/cpp2a/nontype-subob1.C
@@ -18,7 +18,7 @@ struct B: C
void f(A<&b.i>) {}
TEQ(&b.i,&((C*)&b)->i);
-// { dg-final { scan-assembler _Z1g1AIXadixdtL_Z1bE1jLl1EEE } }
+// { dg-final { scan-assembler "_Z1g1AIXadixdtL_Z1bE1jL\[silx]1EEE" } }
void g(A<&b.j[0]+1>) {}
TEQ(&b.j[1],&b.j[1]);
TEQ(&b.j[1],&b.j[0]+1);