Douglas Gregor | b8ddb13 | 2010-03-24 20:42:51 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -Wno-gnu-designator -verify %s |
Andy Gibbs | c6e68da | 2012-10-19 12:44:48 +0000 | [diff] [blame] | 2 | // expected-no-diagnostics |
Carl Norum | 58d489f | 2011-03-07 22:57:45 +0000 | [diff] [blame] | 3 | struct { int x, y, z[12]; } value = { x:17, .z [3 ... 5] = 7 }; |