diff options
Diffstat (limited to 'test/CodeGen/avr/target-cpu-defines/attiny104.c')
| -rw-r--r-- | test/CodeGen/avr/target-cpu-defines/attiny104.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/CodeGen/avr/target-cpu-defines/attiny104.c b/test/CodeGen/avr/target-cpu-defines/attiny104.c new file mode 100644 index 000000000000..7de65bf09ba3 --- /dev/null +++ b/test/CodeGen/avr/target-cpu-defines/attiny104.c @@ -0,0 +1,7 @@ +// REQUIRES: avr-registered-target +// RUN: %clang_cc1 -E -dM -triple avr-unknown-unknown -target-cpu attiny104 /dev/null | FileCheck -match-full-lines %s + +// CHECK: #define AVR 1 +// CHECK: #define __AVR 1 +// CHECK: #define __AVR_ATtiny104__ 1 +// CHECK: #define __AVR__ 1 |
