[llvm-commits] [llvm] r63885 - /llvm/branches/Apple/Dib/test/FrontendObjC/2009-02-05-VolatileProp.m

Bill Wendling isanbard at gmail.com
Thu Feb 5 12:53:54 PST 2009


Author: void
Date: Thu Feb  5 14:53:54 2009
New Revision: 63885

URL: http://llvm.org/viewvc/llvm-project?rev=63885&view=rev
Log:
Add testcase for r63884.

Added:
    llvm/branches/Apple/Dib/test/FrontendObjC/2009-02-05-VolatileProp.m

Added: llvm/branches/Apple/Dib/test/FrontendObjC/2009-02-05-VolatileProp.m
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/Apple/Dib/test/FrontendObjC/2009-02-05-VolatileProp.m?rev=63885&view=auto

==============================================================================
--- llvm/branches/Apple/Dib/test/FrontendObjC/2009-02-05-VolatileProp.m (added)
+++ llvm/branches/Apple/Dib/test/FrontendObjC/2009-02-05-VolatileProp.m Thu Feb  5 14:53:54 2009
@@ -0,0 +1,11 @@
+/* RUN: %llvmgcc -w -x objective-c -c %s -o /dev/null -pedantic-errors
+   rdar://6551276 */
+
+void foo(const unsigned short *);
+void bar() {
+  unsigned short *s[3];
+  int i;
+  @try { } @catch (id anException) { }
+  foo(2+s[i]);
+}
+





More information about the llvm-commits mailing list