summaryrefslogtreecommitdiff
path: root/clang/test/CXX/lex/lex.trigraph/p2.cpp
blob: 7d11d5bf5d5922fc418239ad753b24665c00774c (about) (plain)
1
2
3
// RUN: %clang_cc1 -fsyntax-only -trigraphs -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}}