aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/SemaInit.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-10-26 23:22:23 +0000
committerChris Lattner <sabre@nondot.org>2008-10-26 23:22:23 +0000
commit79ed6b5902ed92175b70ed3c4d7b3f239af847ce (patch)
tree4adb53cb34d82e1410fb0a1f1404be79124f0f49 /lib/Sema/SemaInit.cpp
parente232942571a80549514791bbdbbd0bb44fab6b56 (diff)
add some simple designator testcases. Reject things like this:
struct foo Y[10] = { [4] .arr [2] 4 // expected-error {{expected '=' or another designator}} }; because the "missing equals" extension only is valid if there is exactly one array designator. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@58215 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaInit.cpp')
0 files changed, 0 insertions, 0 deletions