Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / Preprocessor / avr-common.c
blob70daf3fbee23ec9038beef7ffaa0b1943bfe5d4f
1 // RUN: %clang_cc1 -E -dM -triple avr-unknown-unknown -target-cpu attiny13 /dev/null | FileCheck -match-full-lines --check-prefixes=CHECK,AVR %s
2 // RUN: %clang_cc1 -E -dM -triple avr-unknown-unknown -target-cpu avr25 /dev/null | FileCheck -match-full-lines --check-prefixes=CHECK,AVR %s
3 // RUN: %clang_cc1 -E -dM -triple avr-unknown-unknown -target-cpu attiny4 /dev/null | FileCheck -match-full-lines --check-prefixes=CHECK,TINY %s
4 // RUN: %clang_cc1 -E -dM -triple avr-unknown-unknown -target-cpu avrtiny /dev/null | FileCheck -match-full-lines --check-prefixes=CHECK,TINY %s
6 // CHECK: #define AVR 1
7 // CHECK: #define __AVR 1
9 // TINY: #define __AVR_TINY__ 1
10 // AVR-NOT: __AVR_TINY__
12 // CHECK: #define __AVR__ 1
13 // CHECK: #define __ELF__ 1