aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp1z/pr115440.C
blob: 788d4806fe2d23699d6ba29b14c4c6142b60b76e (plain)
1
2
3
4
5
6
7
8
// PR driver/115440
// { dg-do compile { target c++17_only } }
// { dg-options "--c++17" }

int i;

// { dg-bogus "unrecognized command-line option '--c\\\+\\\+17'; did you mean '--stdc\\\+\\\+17'" "" { target *-*-* } 0 }
// { dg-error "unrecognized command-line option '--c\\\+\\\+17'" "" { target *-*-* } 0 }