diff options
| author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-07-04 15:04:25 +0000 |
|---|---|---|
| committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-07-04 15:04:25 +0000 |
| commit | 87627034a10e0307af64ee599346d2020af06947 (patch) | |
| tree | 11ccb1c8bea57923ac968a80356ec19535578659 /clang/test/CodeGen/const-init.c | |
| parent | 3a228ee60ceb60d9c1bb0a4d3f89bda5f44ee5f7 (diff) | |
| download | bcm5719-llvm-87627034a10e0307af64ee599346d2020af06947.tar.gz bcm5719-llvm-87627034a10e0307af64ee599346d2020af06947.zip | |
Add missing expected-warning.
llvm-svn: 185644
Diffstat (limited to 'clang/test/CodeGen/const-init.c')
| -rw-r--r-- | clang/test/CodeGen/const-init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CodeGen/const-init.c b/clang/test/CodeGen/const-init.c index 5f729b8df42..7d7ccae370d 100644 --- a/clang/test/CodeGen/const-init.c +++ b/clang/test/CodeGen/const-init.c @@ -156,6 +156,6 @@ void g29() { // CHECK: @g29.b = internal global [1 x i32] [i32 ptrtoint ([5 x i8]* @.str to i32)], align 4 // CHECK: @g29.c = internal global [1 x i32] [i32 97], align 4 static DCC_SRVR_NM a = { {"@"} }; - static int b[1] = { "asdf" }; + static int b[1] = { "asdf" }; // expected-warning {{incompatible pointer to integer conversion initializing 'int' with an expression of type 'char [5]'}} static int c[1] = { L"a" }; } |

