opnsense-src/test/Preprocessor/expr_comma.c

11 lines
213 B
C
Raw Normal View History

2009-06-02 13:58:47 -04:00
// Comma is not allowed in C89
2010-01-01 05:34:51 -05:00
// RUN: not %clang_cc1 -E %s -std=c89 -pedantic-errors
2009-06-02 13:58:47 -04:00
// Comma is allowed if unevaluated in C99
2010-01-01 05:34:51 -05:00
// RUN: %clang_cc1 -E %s -std=c99 -pedantic-errors
2009-06-02 13:58:47 -04:00
// PR2279
#if 0? 1,2:3
#endif