diff options
| author | Sebastian Redl <sebastian.redl@getdesigned.at> | 2008-11-12 21:19:11 +0000 |
|---|---|---|
| committer | Sebastian Redl <sebastian.redl@getdesigned.at> | 2008-11-12 21:19:11 +0000 |
| commit | 15b7160a178198fe94f9a05a8f2c3e152163ab6b (patch) | |
| tree | 366b3a00b3d4024c332dd23a64e97a3de0f6e8b9 /clang/test/Sema/compound-literal.c | |
| parent | ffb31a23a5967c4b156d226e2a6c84693f7cb4e8 (diff) | |
| download | bcm5719-llvm-15b7160a178198fe94f9a05a8f2c3e152163ab6b.tar.gz bcm5719-llvm-15b7160a178198fe94f9a05a8f2c3e152163ab6b.zip | |
64-bit test fixes.
llvm-svn: 59165
Diffstat (limited to 'clang/test/Sema/compound-literal.c')
| -rw-r--r-- | clang/test/Sema/compound-literal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Sema/compound-literal.c b/clang/test/Sema/compound-literal.c index 1de0e0bec44..59e7bfab5b9 100644 --- a/clang/test/Sema/compound-literal.c +++ b/clang/test/Sema/compound-literal.c @@ -9,7 +9,7 @@ static int *p = (int []){2,4}; static int x = (int){1}; // -expected-warning{{braces around scalar initializer}} static int *p2 = (int []){2,x}; // -expected-error {{initializer element is not a compile-time constant}} -static int *p3 = (int []){2,"x"}; // -expected-warning {{incompatible pointer to integer conversion initializing 'char [2]', expected 'int'}} +static long *p3 = (long []){2,"x"}; // -expected-warning {{incompatible pointer to integer conversion initializing 'char [2]', expected 'long'}} typedef struct { } cache_t; // -expected-warning{{use of empty struct extension}} static cache_t clo_I1_cache = ((cache_t) { } ); // -expected-warning{{use of GNU empty initializer extension}} |

