summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenObjC/function-decay.m
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2011-02-22 01:23:29 +0000
committerAnders Carlsson <andersca@mac.com>2011-02-22 01:23:29 +0000
commit4fc229ef6919b7e88e8b05623f8584385392d990 (patch)
tree223928e50b37f7adb72dffce45a4b9b5060b0099 /clang/test/CodeGenObjC/function-decay.m
parent23eb9f707bf66797f9bd435a411a7e2fde3be4a7 (diff)
downloadbcm5719-llvm-4fc229ef6919b7e88e8b05623f8584385392d990.tar.gz
bcm5719-llvm-4fc229ef6919b7e88e8b05623f8584385392d990.zip
Move some Objective-C tests to SemaObjC and CodeGenObjC.
llvm-svn: 126175
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 00000000000..161f9079b25
--- /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)) {
+}
OpenPOWER on IntegriCloud