macro_paste_identifier_error.c 340 B

12345678
  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. #define foo a ## b ## = 0
  6. int foo;
  7. // CHECK: int ab = 0;