[cfe-commits] r70797 - in /cfe/trunk/test/CodeGenObjC: interface-layout-64.m ivar-layout-64.m

Daniel Dunbar daniel at zuster.org
Sun May 3 13:37:43 PDT 2009


Author: ddunbar
Date: Sun May  3 15:37:42 2009
New Revision: 70797

URL: http://llvm.org/viewvc/llvm-project?rev=70797&view=rev
Log:
Rename test case

Added:
    cfe/trunk/test/CodeGenObjC/interface-layout-64.m
      - copied unchanged from r70686, cfe/trunk/test/CodeGenObjC/ivar-layout-64.m
Removed:
    cfe/trunk/test/CodeGenObjC/ivar-layout-64.m

Removed: cfe/trunk/test/CodeGenObjC/ivar-layout-64.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenObjC/ivar-layout-64.m?rev=70796&view=auto

==============================================================================
--- cfe/trunk/test/CodeGenObjC/ivar-layout-64.m (original)
+++ cfe/trunk/test/CodeGenObjC/ivar-layout-64.m (removed)
@@ -1,56 +0,0 @@
-// RUN: clang-cc -triple x86_64-apple-darwin9 -emit-llvm -o %t %s &&
-// RUNX: llvm-gcc -m64 -emit-llvm -S -o %t %s &&
-
-// RUN: grep '@"OBJC_IVAR_$_I3._iv2" = global i64 8, section "__DATA, __objc_const", align 8' %t &&
-// RUN: grep '@"OBJC_IVAR_$_I3._iv3" = global i64 12, section "__DATA, __objc_const", align 8' %t &&
-// RUN: grep '@"OBJC_IVAR_$_I4._iv4" = global i64 16, section "__DATA, __objc_const", align 8' %t &&
-// RUN: grep '@"OBJC_IVAR_$_I5._iv5" = global i64 24, section "__DATA, __objc_const", align 8' %t &&
-// RUN: grep '@"OBJC_IVAR_$_I5._iv6_synth" = global i64 28, section "__DATA, __objc_const", align 8' %t &&
-// RUN: grep '@"OBJC_IVAR_$_I5._iv7_synth" = global i64 32, section "__DATA, __objc_const", align 8' %t &&
-
-// RUN: true
-
-struct s0 {
-  double x;
-};
-
- at interface I2 {
-  struct s0 _iv1;
-}
- at end
-
- at interface I3 : I2 {
-  unsigned int _iv2 :1;
-  unsigned : 0;
-  unsigned int _iv3 : 3;
-}
- at end
-
- at interface I4 : I3 {
- char _iv4;
-}
- at end
-
- at interface I5 : I4 {
- char _iv5;
-}
-
- at property int prop0;
- at end
-
- at implementation I3
- at end
-
- at implementation I4 
- at end
-
- at interface I5 ()
- at property int prop1;
- at property char prop2;
- at end
-
- at implementation I5
- at synthesize prop0 = _iv6_synth;
- at synthesize prop1 = _iv7_synth;
- at synthesize prop2 = _iv5;
- at end





More information about the cfe-commits mailing list