diff options
author | Marek Polacek <polacek@redhat.com> | 2020-05-28 10:13:16 -0400 |
---|---|---|
committer | Giuliano Belinassi <giuliano.belinassi@usp.br> | 2020-08-17 13:09:15 -0300 |
commit | 7aef3afe6a37cc4c9a1cd1e354af0cd3fc37d3ac (patch) | |
tree | 54ec119389e0f789f396d145d550c4e3f24e271f /gcc | |
parent | 5165401b7e369bb247b9125c6cdb2bcf1012d21e (diff) | |
download | gcc-7aef3afe6a37cc4c9a1cd1e354af0cd3fc37d3ac.zip gcc-7aef3afe6a37cc4c9a1cd1e354af0cd3fc37d3ac.tar.gz gcc-7aef3afe6a37cc4c9a1cd1e354af0cd3fc37d3ac.tar.bz2 |
c++: Fix tmplattr10.C
This test uses C++11 features so should only run in c++11.
* g++.dg/ext/tmplattr10.C: Only run in c++11.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/g++.dg/ext/tmplattr10.C | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/g++.dg/ext/tmplattr10.C b/gcc/testsuite/g++.dg/ext/tmplattr10.C index 3fb8c21..46caa07 100644 --- a/gcc/testsuite/g++.dg/ext/tmplattr10.C +++ b/gcc/testsuite/g++.dg/ext/tmplattr10.C @@ -1,5 +1,5 @@ // PR c++/95222 -// { dg-do compile { target { { i?86-*-* x86_64-*-* } && ia32 } } } +// { dg-do compile { target { { { i?86-*-* x86_64-*-* } && ia32 } && c++11 } } } #if defined(_MSC_VER) #define CC_FASTCALL __fastcall |