diff options
-rw-r--r-- | test/Sema/init.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/Sema/init.c b/test/Sema/init.c index 3c8f3fe134..900749f119 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 { }; struct foo2 bar2[] = { - { (int)bbb } + { (intptr_t)bbb } }; |