1 // RUN: %clang_cc1 %s -emit-llvm -o - -triple=avr-unknown-unknown -mdouble=64 | \
2 // RUN:   FileCheck --check-prefix=AVR-FP64 %s
3 // RUN: %clang_cc1 %s -emit-llvm -o - -triple=avr-unknown-unknown -mdouble=32 | \
4 // RUN:   FileCheck --check-prefix=AVR-FP32 %s
5 
6 double x = 0;
7 int size = sizeof(x);
8 
9 // FIXME: the double should have an alignment of 1 on AVR, not 4 or 8.
10 // AVR-FP64: @x ={{.*}} global double {{.*}}, align 8
11 // AVR-FP64: @size ={{.*}} global i16 8
12 // AVR-FP32: @x ={{.*}} global float {{.*}}, align 4
13 // AVR-FP32: @size ={{.*}} global i16 4
14