[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git] / clang / test / CodeGen / mdouble.c
blob6c73bd7b15901e6bad7745df44da7e54216d5449
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
6 double x = 0;
7 int size = sizeof(x);
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