commit | ab1a3635491b721b47c39304306bdd5f5b379ee3 | [log] [tgz] |
---|---|---|
author | Steve Naroff <snaroff@apple.com> | Tue Jan 06 19:34:12 2009 +0000 |
committer | Steve Naroff <snaroff@apple.com> | Tue Jan 06 19:34:12 2009 +0000 |
tree | 1eb9b9e7a86af61b68996bd1b2e71be63fdea958 | |
parent | 34034d7f030ee5fa9702c2de17ceb01ea215be20 [diff] [blame] |
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
diff --git a/test/Parser/MicrosoftExtensions.c b/test/Parser/MicrosoftExtensions.c index 6b097ab..beeef0a 100644 --- a/test/Parser/MicrosoftExtensions.c +++ b/test/Parser/MicrosoftExtensions.c
@@ -21,3 +21,8 @@ }; } +void *_alloca(int); + +void foo() { + __declspec(align(16)) int *buffer = (int *)_alloca(9); +}