+2016-09-29 Marek Polacek <polacek@redhat.com>
+
+ * g++.dg/cpp0x/fallthrough2.C: Use the c++14_down target.
+
2016-09-29 Marek Polacek <polacek@redhat.com>
* g++.dg/cpp0x/fallthrough2.C: Only expect the warning in C++11 and
{
case 1:
bar (1);
- [[fallthrough]]; // { dg-warning ".fallthrough. is a C\\+\\+17 feature" "" { target { ! c++1z } } }
+ [[fallthrough]]; // { dg-warning ".fallthrough. is a C\\+\\+17 feature" "" { target { c++14_down } } }
case 3:
bar (1);
[[gnu::fallthrough, gnu::fallthrough]]; // { dg-warning ".fallthrough. attribute specified multiple times" }