xref: /minix3/external/bsd/llvm/dist/clang/test/Preprocessor/expr_comma.c (revision eda6f5931d42c77e1480347b1fc3eef2f8d33806)
1 // Comma is not allowed in C89
2 // RUN: not %clang_cc1 -E %s -std=c89 -pedantic-errors
3 
4 // Comma is allowed if unevaluated in C99
5 // RUN: %clang_cc1 -E %s -std=c99 -pedantic-errors
6 
7 // PR2279
8 
9 #if 0? 1,2:3
10 #endif
11