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