commit | d22cc722e595723dfd77330c9efb64848fd3adf9 | [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 | 6291f3cb418ababfc058ebf196c091a89069518d [diff] [blame] |
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; +