brintos

brintos / llvm-project-archived public Read only

0
0
Text · 482 B · 0bd039e Raw
22 lines · c
1/* RUN: %clang_cc1 -std=c89 -E -verify %s | FileCheck %s2   RUN: %clang_cc1 -std=c99 -E -verify %s | FileCheck %s3   RUN: %clang_cc1 -std=c11 -E -verify %s | FileCheck %s4   RUN: %clang_cc1 -std=c17 -E -verify %s | FileCheck %s5   RUN: %clang_cc1 -std=c2x -E -verify %s | FileCheck %s6 */7 8/* expected-no-diagnostics */9 10/* WG14 DR259: yes11 * Macro invocations with no arguments12 */13#define m0() replacement14#define m1(x) begin x end15 16m0() m1()17 18/*19CHECK: replacement begin end20*/21 22