gcc/testsuite/gcc.dg/cpp/digraph1.c
raw| 1 | /* Copyright (C) 2000 Free Software Foundation, Inc. */ |
| 2 | |
| 3 | /* { dg-do compile } */ |
| 4 | /* { dg-options "-std=iso9899:199409" } */ |
| 5 | |
| 6 | /* Just simple check that digraphs are on under c94, for both |
| 7 | preprocessor and compiler. digraphs.c is the general test. */ |
| 8 | |
| 9 | %:define glue |
| 10 | #ifndef glue |
| 11 | #error glue not defined! |
| 12 | #endif |
| 13 | |
| 14 | int main (int argc, char *argv<::>) |
| 15 | <% |
| 16 | return 0; |
| 17 | %> |