11 lines · c
1// RUN: %clang_cc1 -E -x c %s | FileCheck %s --check-prefixes=EXPANDED2// RUN: %clang_cc1 -E -x cpp-output %s | FileCheck %s --check-prefixes=NOT-EXPANDED3 4// EXPANDED: void __attribute__((__attribute__((always_inline)))) foo()5// NOT-EXPANDED: void __attribute__((always_inline)) foo()6 7#define always_inline __attribute__((always_inline))8void __attribute__((always_inline)) foo() {9 return 4;10}11