1 // RUN: %clang_cc1 -triple msp430-elf -emit-llvm %s -o - | FileCheck %s
3 // MSP430 target prefers chars to be aligned to 8 bit and other types to 16 bit.
5 // CHECK: @c ={{.*}}global i8 1, align 1
6 // CHECK: @s ={{.*}}global i16 266, align 2
7 // CHECK: @i ={{.*}}global i16 266, align 2
8 // CHECK: @l ={{.*}}global i32 16909060, align 2
9 // CHECK: @ll ={{.*}}global i64 283686952306183, align 2
10 // CHECK: @f ={{.*}}global float 1.000000e+00, align 2
11 // CHECK: @d ={{.*}}global double 1.000000e+00, align 2
12 // CHECK: @ld ={{.*}}global double 1.000000e+00, align 2
13 // CHECK: @p ={{.*}}global ptr @c, align 2
19 long long ll
= 283686952306183;