1*f4a2713aSLionel Sambuc // RUN: %clang_cc1 -fsyntax-only -verify -triple i686-apple-osx10.7.0 %s 2*f4a2713aSLionel Sambuc // expected-no-diagnostics 3*f4a2713aSLionel Sambuc 4*f4a2713aSLionel Sambuc #pragma ms_struct on 5*f4a2713aSLionel Sambuc 6*f4a2713aSLionel Sambuc // <rdar://problem/10791194> 7*f4a2713aSLionel Sambuc template<int x> struct foo { 8*f4a2713aSLionel Sambuc long long a; 9*f4a2713aSLionel Sambuc int b; 10*f4a2713aSLionel Sambuc }; 11*f4a2713aSLionel Sambuc extern int arr[sizeof(foo<0>) == 16 ? 1 : -1]; 12