From: Richard Henderson Date: Tue, 19 Oct 2004 19:21:41 +0000 (-0700) Subject: Testcase for PR 17962. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3af51af7a118781901b148db299fd4af9235684a;p=gcc.git Testcase for PR 17962. From-SVN: r89285 --- diff --git a/gcc/testsuite/gcc.dg/align-2.c b/gcc/testsuite/gcc.dg/align-2.c new file mode 100644 index 00000000000..f5c00fd0c65 --- /dev/null +++ b/gcc/testsuite/gcc.dg/align-2.c @@ -0,0 +1,6 @@ +/* PR 17962 */ +/* { dg-do compile } */ +/* { dg-options "" } */ + +typedef float v4 __attribute__((vector_size(sizeof(float)*4))); +extern char compile_time_assert[__alignof__(v4) == sizeof(float)*4 ? 1 : -1];