summaryrefslogtreecommitdiff
path: root/clang/test/Preprocessor/expr_comma.c
blob: 538727d12bf34d721ee71e5fc886c2213adb2928 (about) (plain)
1
2
3
4
5
6
7
8
9
10
// Comma is not allowed in C89
// RUN: not %clang_cc1 -E %s -std=c89 -pedantic-errors

// Comma is allowed if unevaluated in C99
// RUN: %clang_cc1 -E %s -std=c99 -pedantic-errors 

// PR2279

#if 0? 1,2:3
#endif