Tighten condition in vect/pr85586.c (PR 85654)
[official-gcc.git] / gcc / testsuite / gcc.dg / pragma-ms_struct.c
blobcc71610146ad4c2792430a334bded392151c50ae
1 /* Darwin pragma for __attribute__ ((ms_struct)). */
3 /* { dg-do compile { target *-*-darwin* } } */
4 /* { dg-options "-Wall" } */
6 #pragma ms_struct on
8 #pragma ms_struct off
10 #pragma ms_struct reset
12 #pragma ms_struct /* { dg-warning "malformed" } */
14 #pragma ms_struct on top of spaghetti /* { dg-warning "junk" } */
16 struct foo
18 int a;
19 int b;
20 char c;