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