summaryrefslogtreecommitdiff
path: root/clang/test/CodeGenObjC/function-decay.m
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/CodeGenObjC/function-decay.m')
-rw-r--r--clang/test/CodeGenObjC/function-decay.m10
1 files changed, 10 insertions, 0 deletions
diff --git a/clang/test/CodeGenObjC/function-decay.m b/clang/test/CodeGenObjC/function-decay.m
new file mode 100644
index 0000000..161f907
--- /dev/null
+++ b/clang/test/CodeGenObjC/function-decay.m
@@ -0,0 +1,10 @@
+// RUN: %clang_cc1 %s -emit-llvm -o -
+
+@interface I0 @end
+@implementation I0
+- (void) im0: (int (void)) a0 {
+}
+@end
+
+void func(int pf(void)) {
+}