summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/cpp/warn-cxx-compat.c
blob: 2e7b25932351a80586ed2268b0805cafc4eda8cf (plain)
1
2
3
4
// { dg-do preprocess }
// { dg-options "-std=gnu99 -fdiagnostics-show-option -Wc++-compat" }

#define not !  // { dg-warning "identifier \"not\" is a special operator name in C\\+\\+ .-Wc\\+\\+-compat." }