diff options
author | Steve Naroff <snaroff@apple.com> | 2009-01-06 19:34:12 +0000 |
---|---|---|
committer | Steve Naroff <snaroff@apple.com> | 2009-01-06 19:34:12 +0000 |
commit | 47f5209a80c7c75592e87eb296d2b51e03208ae0 (patch) | |
tree | 1eb9b9e7a86af61b68996bd1b2e71be63fdea958 /test | |
parent | b8006e50bf378ddbab9601c1fa07f151ac538ff3 (diff) |
Another tweak to handle the MS extensions (<rdar://problem/5956221>).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@61821 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/Parser/MicrosoftExtensions.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Parser/MicrosoftExtensions.c b/test/Parser/MicrosoftExtensions.c index 6b097ab7a8..beeef0a9f5 100644 --- a/test/Parser/MicrosoftExtensions.c +++ b/test/Parser/MicrosoftExtensions.c @@ -21,3 +21,8 @@ __forceinline InterlockedBitTestAndSet (long *Base, long Bit) }; } +void *_alloca(int); + +void foo() { + __declspec(align(16)) int *buffer = (int *)_alloca(9); +} |