commit | a79f8b3989558884d9dbbbdbd4da861117345865 | [log] [tgz] |
---|---|---|
author | Fariborz Jahanian <fjahanian@apple.com> | Mon Nov 23 19:51:43 2009 +0000 |
committer | Fariborz Jahanian <fjahanian@apple.com> | Mon Nov 23 19:51:43 2009 +0000 |
tree | 8f349ad2b1d7bb40bbcc00e6a25702d1c5a230d1 | |
parent | c6e11fff7623e07681a29c103fcf0bb5c5b39140 [diff] [blame] |
Fix a recent regression probably caused by addition of altivec-style type-casts in the parser. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89691 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Sema/cast.c b/test/Sema/cast.c index ec19626..d2e3e0c 100644 --- a/test/Sema/cast.c +++ b/test/Sema/cast.c
@@ -12,3 +12,7 @@ a = (char*)b; // expected-error {{cannot be cast to a pointer type}} } +long bar1(long *next) { + return (long)(*next)++; +} +