Aaron Ballman d694e2490a Update the status of a few more C DRs
This includes tests for DR085 and DR259.
2022-12-08 13:19:29 -05:00

22 lines
482 B
C

/* RUN: %clang_cc1 -std=c89 -E -verify %s | FileCheck %s
RUN: %clang_cc1 -std=c99 -E -verify %s | FileCheck %s
RUN: %clang_cc1 -std=c11 -E -verify %s | FileCheck %s
RUN: %clang_cc1 -std=c17 -E -verify %s | FileCheck %s
RUN: %clang_cc1 -std=c2x -E -verify %s | FileCheck %s
*/
/* expected-no-diagnostics */
/* WG14 DR259: yes
* Macro invocations with no arguments
*/
#define m0() replacement
#define m1(x) begin x end
m0() m1()
/*
CHECK: replacement begin end
*/