commit | 392cf91c7b3270a9b27baa3c5b21a836f3330d98 | [log] [tgz] |
---|---|---|
author | Sebastian Redl <sebastian.redl@getdesigned.at> | Sat Feb 07 00:23:52 2009 +0000 |
committer | Sebastian Redl <sebastian.redl@getdesigned.at> | Sat Feb 07 00:23:52 2009 +0000 |
tree | 4634388606696f830d7db116625e6e04d9d75d9d | |
parent | 25d69b57ccef6e598d6a4cd8823ee24d56b2c9f7 [diff] [blame] |
Use our new snazzy stdint.h to make a testcase 64-bit portable. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63985 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Sema/init.c b/test/Sema/init.c index 3c8f3fe..900749f 100644 --- a/test/Sema/init.c +++ b/test/Sema/init.c
@@ -1,5 +1,7 @@ // RUN: clang %s -verify -fsyntax-only +#include <stdint.h> + typedef void (* fp)(void); void foo(void); @@ -104,5 +106,5 @@ }; struct foo2 bar2[] = { - { (int)bbb } + { (intptr_t)bbb } };