1c568f1e98938584c0ef0b12ae5018ff7d90a4072Stephen Hines// RUN: %clang_cc1 -std=c++1z %s -verify 20e2c34f92f00628d48968dfea096d36381f494cbStephen Hines// RUN: %clang_cc1 -std=c++1z %s -ftrigraphs -fsyntax-only 3c568f1e98938584c0ef0b12ae5018ff7d90a4072Stephen Hines 4c568f1e98938584c0ef0b12ae5018ff7d90a4072Stephen Hines??= define foo ; // expected-error {{}} expected-warning {{trigraph ignored}} 5c568f1e98938584c0ef0b12ae5018ff7d90a4072Stephen Hines 6c568f1e98938584c0ef0b12ae5018ff7d90a4072Stephen Hinesstatic_assert("??="[0] == '#', ""); // expected-error {{failed}} expected-warning {{trigraph ignored}} 7c568f1e98938584c0ef0b12ae5018ff7d90a4072Stephen Hines 8c568f1e98938584c0ef0b12ae5018ff7d90a4072Stephen Hines// ??/ 9c568f1e98938584c0ef0b12ae5018ff7d90a4072Stephen Hineserror here; // expected-error {{}} 10