[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / Preprocessor / avr-atmega328p.c
blobf5f1ef13f151b9516b326e46af2eac51a06529d1
1 // RUN: %clang_cc1 -E -dM -triple avr-unknown-unknown -target-cpu atmega328p /dev/null | FileCheck -match-full-lines %s
3 // CHECK: #define AVR 1
4 // CHECK: #define __AVR 1
5 // CHECK: #define __AVR_ARCH__ 5
6 // CHECK: #define __AVR_ATmega328P__ 1
7 // CHECK-NOT: #define __AVR_HAVE_EIJMP_EICALL__
8 // CHECK: #define __AVR_HAVE_LPMX__ 1
9 // CHECK: #define __AVR_HAVE_MOVW__ 1
10 // CHECK: #define __AVR_HAVE_MUL__ 1
11 // CHECK: #define __AVR__ 1
12 // CHECK: #define __ELF__ 1