aboutsummaryrefslogtreecommitdiff
path: root/test/Parser/typeof.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Parser/typeof.c')
-rw-r--r--test/Parser/typeof.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/Parser/typeof.c b/test/Parser/typeof.c
index cf0e47a6b124..7953a69fed00 100644
--- a/test/Parser/typeof.c
+++ b/test/Parser/typeof.c
@@ -17,3 +17,10 @@ static void test() {
int xx;
int *i;
}
+
+// <rdar://problem/8237491>
+void test2() {
+ int a;
+ short b;
+ __typeof__(a) (*f)(__typeof__(b));
+}