Mercurial > hg > CbC > CbC_llvm
view clang/test/Preprocessor/macro_fn_varargs_named.c @ 180:680fa57a2f20
fix compile errors.
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 30 May 2020 17:44:06 +0900 |
parents | 1d019706d866 |
children |
line wrap: on
line source
// RUN: %clang_cc1 -E %s | FileCheck %s --match-full-lines --strict-whitespace --check-prefix CHECK-1 // CHECK-1:a: x // RUN: %clang_cc1 -E %s | FileCheck %s --match-full-lines --strict-whitespace --check-prefix CHECK-2 // CHECK-2:b: x y, z,h // RUN: %clang_cc1 -E %s | FileCheck %s --match-full-lines --strict-whitespace --check-prefix CHECK-3 // CHECK-3:c: foo(x) #define A(b, c...) b c a: A(x) b: A(x, y, z,h) #define B(b, c...) foo(b, ## c) c: B(x)