Fix test so it works the same way on 32-bit and 64-bit.

llvm-svn: 160415
This commit is contained in:
Eli Friedman 2012-07-18 01:03:11 +00:00
parent 3100519b33
commit ea90a40339
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ int array2[recurse2]; // expected-warning {{variable length array}} expected-war
namespace FloatConvert {
typedef int a[(int)42.3];
typedef int a[(int)42.997];
typedef int b[(int)4e10]; // expected-warning {{variable length}} expected-warning {{size of static array must be an integer constant expression}}
typedef int b[(long long)4e20]; // expected-warning {{variable length}} expected-error {{variable length}} expected-warning {{'long long' is an extension}}
}
// PR12626