commit | d411e04db18f7d07a889d51086861b23cbe05518 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Sun Dec 02 07:47:49 2007 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Sun Dec 02 07:47:49 2007 +0000 |
tree | f331c8e06f75e7ec9c409a07a42d2a9f292cfa83 | |
parent | e86e9ce200b00a1527eb7ca27011c47aa6ba2881 [diff] |
all filevar's have static storage. Previously a global with extern storage class was returning false from hasStaticStorage. Ted, please review this. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@44515 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Sema/init.c b/test/Sema/init.c index 2f6df64..bbad04c 100644 --- a/test/Sema/init.c +++ b/test/Sema/init.c
@@ -8,3 +8,8 @@ int *myPointer2 = myArray; int *myPointer = &(myArray[2]); + +extern int x; +void *g = &x; +int *h = &x; +