[llvm-commits] [llvm] r57237 - in /llvm/trunk/test/FrontendObjC: 2008-10-3-EhValue.m 2008-10-3-EhValue.mm

Gabor Greif ggreif at gmail.com
Mon Oct 6 23:41:03 PDT 2008


Author: ggreif
Date: Tue Oct  7 01:41:02 2008
New Revision: 57237

URL: http://llvm.org/viewvc/llvm-project?rev=57237&view=rev
Log:
fix filetype suffix

Added:
    llvm/trunk/test/FrontendObjC/2008-10-3-EhValue.m   (props changed)
      - copied unchanged from r57236, llvm/trunk/test/FrontendObjC/2008-10-3-EhValue.mm
Removed:
    llvm/trunk/test/FrontendObjC/2008-10-3-EhValue.mm

Propchange: llvm/trunk/test/FrontendObjC/2008-10-3-EhValue.m

------------------------------------------------------------------------------
    svn:mergeinfo = 

Removed: llvm/trunk/test/FrontendObjC/2008-10-3-EhValue.mm
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendObjC/2008-10-3-EhValue.mm?rev=57236&view=auto

==============================================================================
--- llvm/trunk/test/FrontendObjC/2008-10-3-EhValue.mm (original)
+++ llvm/trunk/test/FrontendObjC/2008-10-3-EhValue.mm (removed)
@@ -1,50 +0,0 @@
-// RUN: %llvmgcc -w -x objective-c -c %s -o /dev/null
-
- at interface Object {
- at public
-     Class isa;
-}
-+initialize;
-+alloc;
-+new;
-+free;
--free;
-+(Class)class;
--(Class)class;
--init;
--superclass;
--(const char *)name;
- at end
-
- at interface Frob: Object
- at end
-
- at implementation Frob: Object
- at end
-
-static Frob* _connection = ((void *)0);
-
-extern void abort(void);
-
-void test (Object* sendPort)
-{
- int cleanupPorts = 1;
- Frob* receivePort = ((void *)0);
-
- @try {
-  receivePort = (Frob *) -1;
-  _connection = (Frob *) -1;
-  receivePort = ((void *)0);
-  sendPort = ((void *)0);
-  cleanupPorts = 0;
-  @throw [Object new];
- }
- @catch(Frob *obj) {
-  if(!(0)) abort();
- }
- @catch(id exc) {
-  if(!(!receivePort)) abort();
-  if(!(!sendPort)) abort();
-  if(!(!cleanupPorts)) abort();
- }
-}





More information about the llvm-commits mailing list