annotate gcc/testsuite/c-c++-common/cpp/dir-only-5.c @ 152:2b5abeee2509

update gcc11
author anatofuz
date Mon, 25 May 2020 07:50:57 +0900
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
152
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
1 /* Copyright 2007 Free Software Foundation, Inc.
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
2 Contributed by Ollie Wild <aaw@google.com>. */
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
3
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
4 /* C++ silently ignores traditional! */
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
5 /* { dg-do preprocess { target c } } */
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
6 /* { dg-options "-fdirectives-only -traditional" } */
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
7 /* { dg-error "'-fdirectives-only' is incompatible with '-traditional'\n" "'-traditional' check" { target *-*-* } 0 } */