summaryrefslogtreecommitdiff
path: root/gcc/testsuite/lib/g++-dg.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/lib/g++-dg.exp')
-rw-r--r--gcc/testsuite/lib/g++-dg.exp6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/testsuite/lib/g++-dg.exp b/gcc/testsuite/lib/g++-dg.exp
index e6ef74b5ef..24542c8017 100644
--- a/gcc/testsuite/lib/g++-dg.exp
+++ b/gcc/testsuite/lib/g++-dg.exp
@@ -1,4 +1,4 @@
-# Copyright (C) 1997, 1999, 2000, 2003, 2007 Free Software Foundation, Inc.
+# Copyright (C) 1997-2014 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -43,9 +43,9 @@ proc g++-dg-runtest { testcases default-extra-flags } {
# if there's a dg-options line.
if ![search_for $test "-std=*++"] {
if [search_for $test "dg-options"] {
- set option_list { -std=gnu++98 -std=gnu++11 }
+ set option_list { -std=gnu++98 -std=gnu++11 -std=gnu++1y }
} else {
- set option_list { -std=c++98 -std=c++11 }
+ set option_list { -std=c++98 -std=c++11 -std=c++1y }
}
} else {
set option_list { "" }