llvm/clang/test/CXX/lex/lex.trigraph/p2.cpp

// RUN: %clang_cc1 -fsyntax-only -ftrigraphs -Wtrigraphs -verify %s

??=define arraycheck(a,b) a??(b??) ??!??! b??(a??) // expected-warning {{trigraph converted to '#' character}} expected-warning {{trigraph converted to '[' character}} expected-warning {{trigraph converted to ']' character}} expected-warning {{trigraph converted to '|' character}} expected-warning {{trigraph converted to '|' character}} expected-warning {{trigraph converted to '[' character}} expected-warning {{trigraph converted to ']' character}}