11 lines · c
1// Comma is not allowed in C892// RUN: not %clang_cc1 -E %s -std=c89 -pedantic-errors3 4// Comma is allowed if unevaluated in C995// RUN: %clang_cc1 -E %s -std=c99 -pedantic-errors 6 7// PR22798 9#if 0? 1,2:310#endif11 1// Comma is not allowed in C892// RUN: not %clang_cc1 -E %s -std=c89 -pedantic-errors3 4// Comma is allowed if unevaluated in C995// RUN: %clang_cc1 -E %s -std=c99 -pedantic-errors 6 7// PR22798 9#if 0? 1,2:310#endif11