Eli Friedman | 572ae0a | 2012-02-10 02:02:21 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -fsyntax-only -verify -triple i686-apple-osx10.7.0 %s |
2 | |||||
3 | #pragma ms_struct on | ||||
4 | |||||
5 | // <rdar://problem/10791194> | ||||
6 | template<int x> struct foo { | ||||
7 | long long a; | ||||
8 | int b; | ||||
9 | }; | ||||
10 | extern int arr[sizeof(foo<0>) == 16 ? 1 : -1]; |