commit | b384d329e0b727d4f2effa28fbb9aba2ac420e7b | [log] [tgz] |
---|---|---|
author | Fariborz Jahanian <fjahanian@apple.com> | Thu Oct 04 20:19:06 2007 +0000 |
committer | Fariborz Jahanian <fjahanian@apple.com> | Thu Oct 04 20:19:06 2007 +0000 |
tree | b3c02972d19576e3d75e35ae073fdbd794712b41 | |
parent | 5951965a39c01764e4777e16b7089874512ebc5a [diff] [blame] |
this patch accomodates clattner's comments on expression processing in @try-statement. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@42611 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Parser/encode.m b/test/Parser/encode.m new file mode 100644 index 0000000..ce12882 --- /dev/null +++ b/test/Parser/encode.m
@@ -0,0 +1,8 @@ +// RUN: clang -fsyntax-only -verify %s + +int main(void) { + const char ch = @encode(char *)[2]; + char c = @encode(char *)[2] + 4; + return c; +} +