projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
125e0ff
)
c++: Fix tmplattr10.C
author
Marek Polacek
<polacek@redhat.com>
Thu, 28 May 2020 14:13:16 +0000
(10:13 -0400)
committer
Marek Polacek
<polacek@redhat.com>
Thu, 28 May 2020 15:05:07 +0000
(11:05 -0400)
This test uses C++11 features so should only run in c++11.
* g++.dg/ext/tmplattr10.C: Only run in c++11.
gcc/testsuite/g++.dg/ext/tmplattr10.C
patch
|
blob
|
history
diff --git
a/gcc/testsuite/g++.dg/ext/tmplattr10.C
b/gcc/testsuite/g++.dg/ext/tmplattr10.C
index 3fb8c21ccbe0875e36dca38d65eaa9fae5700535..46caa070098552e5e34866e6bff670bf129fc645 100644
(file)
--- 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