commit | 4cc627111453b75519d5130b57e06256da7b00e8 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Tue Nov 27 21:35:27 2007 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Tue Nov 27 21:35:27 2007 +0000 |
tree | addac1d84eee70fba15728ddb2f6db27697cf3b3 | |
parent | f471f2eb17ad9733b73785bf256639110f26d330 [diff] [blame] |
add several cases that Expr::hasStaticStorage missed, pointed out by Oliver Hunt git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@44376 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Sema/init.c b/test/Sema/init.c index 71b1d63..2f6df64 100644 --- a/test/Sema/init.c +++ b/test/Sema/init.c
@@ -4,3 +4,7 @@ void foo(void); fp a[1] = { foo }; +int myArray[5] = {1, 2, 3, 4, 5}; +int *myPointer2 = myArray; +int *myPointer = &(myArray[2]); +