13 lines · c
1// RUN: %clang_cc1 %s -emit-llvm -o - -triple=avr-unknown-unknown -mdouble=64 | \2// RUN: FileCheck --check-prefix=AVR-FP64 %s3// RUN: %clang_cc1 %s -emit-llvm -o - -triple=avr-unknown-unknown -mdouble=32 | \4// RUN: FileCheck --check-prefix=AVR-FP32 %s5 6double x = 0;7int size = sizeof(x);8 9// AVR-FP64: @x ={{.*}} global double {{.*}}, align 110// AVR-FP64: @size ={{.*}} global i16 811// AVR-FP32: @x ={{.*}} global float {{.*}}, align 112// AVR-FP32: @size ={{.*}} global i16 413