summaryrefslogtreecommitdiff
path: root/test/Sema/align-arm-apcs.c
blob: 544f539231917930bef097379f47b019a6ed652a (plain)
1
2
3
4
5
// RUN: %clang_cc1 -triple arm-unknown-unknown -target-abi apcs-gnu -fsyntax-only -verify %s
// expected-no-diagnostics

struct s0 { double f0; int f1; };
char chk0[__alignof__(struct s0) == 4 ? 1 : -1];