diff options
Diffstat (limited to 'gcc/testsuite/gcc.dg/cpp/digraph1.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/cpp/digraph1.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/cpp/digraph1.c b/gcc/testsuite/gcc.dg/cpp/digraph1.c new file mode 100644 index 000000000..e098d68da --- /dev/null +++ b/gcc/testsuite/gcc.dg/cpp/digraph1.c @@ -0,0 +1,17 @@ +/* Copyright (C) 2000 Free Software Foundation, Inc. */ + +/* { dg-do compile } */ +/* { dg-options "-std=iso9899:199409" } */ + +/* Just simple check that digraphs are on under c94, for both + preprocessor and compiler. digraphs.c is the general test. */ + +%:define glue +#ifndef glue +#error glue not defined! +#endif + +int main (int argc, char *argv<::>) +<% + return 0; +%> |