]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/Preprocessor/macro_paste_identifier_error.c
Vendor import of clang release_50 branch r309439:
[FreeBSD/FreeBSD.git] / test / Preprocessor / macro_paste_identifier_error.c
1 // RUN: %clang_cc1 -fms-extensions -Wno-invalid-token-paste %s -verify
2 // RUN: %clang_cc1 -E -fms-extensions -Wno-invalid-token-paste %s | FileCheck %s
3 // RUN: %clang_cc1 -E -fms-extensions -Wno-invalid-token-paste -x assembler-with-cpp %s | FileCheck %s
4 // expected-no-diagnostics
5
6 #define foo a ## b ## = 0
7 int foo;
8 // CHECK: int ab = 0;