summaryrefslogtreecommitdiff
path: root/clang/test/FixIt/auto-fixit.m
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/FixIt/auto-fixit.m')
-rw-r--r--clang/test/FixIt/auto-fixit.m11
1 files changed, 11 insertions, 0 deletions
diff --git a/clang/test/FixIt/auto-fixit.m b/clang/test/FixIt/auto-fixit.m
new file mode 100644
index 0000000..d09f04c
--- /dev/null
+++ b/clang/test/FixIt/auto-fixit.m
@@ -0,0 +1,11 @@
+/* RUN: cp %s %t
+ RUN: %clang_cc1 -x objective-c -fixit %t
+ RUN: %clang_cc1 -x objective-c -Werror %t
+ */
+
+// rdar://9036633
+
+int main() {
+ auto int i = 0;
+ return i;
+}