Add missing expected-warning.

llvm-svn: 185644
This commit is contained in:
Rafael Espindola 2013-07-04 15:04:25 +00:00
parent 3a228ee60c
commit 87627034a1
1 changed files with 1 additions and 1 deletions

View File

@ -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" };
}