Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / CXX / lex / lex.trigraph / p1.cpp
bloba80b00eabe7eb55a98a622d0da45833f07d0084f
1 // RUN: %clang_cc1 -fsyntax-only -ftrigraphs -Wtrigraphs -verify %s
3 ??=pragma // expected-warning {{trigraph converted to '#' character}}
5 int a = '??/0'; // expected-warning {{trigraph converted to '\' character}}
7 int b = 1 ??' 0; // expected-warning {{trigraph converted to '^' character}}
9 int c ??(1]; // expected-warning {{trigraph converted to '[' character}}
11 int d [1??); // expected-warning {{trigraph converted to ']' character}}
13 int e = 1 ??! 0; // expected-warning {{trigraph converted to '|' character}}
15 void f() ??<} // expected-warning {{trigraph converted to '{' character}}
17 void g() {??> // expected-warning {{trigraph converted to '}' character}}
19 int h = ??- 0; // expected-warning {{trigraph converted to '~' character}}