commit | 79ed6b5902ed92175b70ed3c4d7b3f239af847ce | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Sun Oct 26 23:22:23 2008 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Sun Oct 26 23:22:23 2008 +0000 |
tree | 4adb53cb34d82e1410fb0a1f1404be79124f0f49 | |
parent | e232942571a80549514791bbdbbd0bb44fab6b56 [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