1/* { dg-do compile } */ 2/* { dg-options "-Wc++-compat" } */ 3 4int and; /* { dg-warning "operator" } */ 5int and_eq; /* { dg-warning "operator" } */ 6int bitand; /* { dg-warning "operator" } */ 7int bitor; /* { dg-warning "operator" } */ 8int compl; /* { dg-warning "operator" } */ 9int not; /* { dg-warning "operator" } */ 10int not_eq; /* { dg-warning "operator" } */ 11int or; /* { dg-warning "operator" } */ 12int or_eq; /* { dg-warning "operator" } */ 13int xor; /* { dg-warning "operator" } */ 14int xor_eq; /* { dg-warning "operator" } */ 15 16#define M1 and /* { dg-warning "operator" } */ 17#define M2 and_eq /* { dg-warning "operator" } */ 18#define M3 bitand /* { dg-warning "operator" } */ 19#define M4 bitor /* { dg-warning "operator" } */ 20#define M5 compl /* { dg-warning "operator" } */ 21#define M6 not /* { dg-warning "operator" } */ 22#define M7 not_eq /* { dg-warning "operator" } */ 23#define M8 or /* { dg-warning "operator" } */ 24#define M9 or_eq /* { dg-warning "operator" } */ 25#define M10 xor /* { dg-warning "operator" } */ 26#define M11 xor_eq /* { dg-warning "operator" } */ 27