[cfe-commits] r65540 - /cfe/trunk/test/CodeGen/x86_64-arguments.c

Anders Carlsson andersca at mac.com
Thu Feb 26 09:38:19 PST 2009


Author: andersca
Date: Thu Feb 26 11:38:19 2009
New Revision: 65540

URL: http://llvm.org/viewvc/llvm-project?rev=65540&view=rev
Log:
Add test for enum types

Modified:
    cfe/trunk/test/CodeGen/x86_64-arguments.c

Modified: cfe/trunk/test/CodeGen/x86_64-arguments.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/x86_64-arguments.c?rev=65540&r1=65539&r2=65540&view=diff

==============================================================================
--- cfe/trunk/test/CodeGen/x86_64-arguments.c (original)
+++ cfe/trunk/test/CodeGen/x86_64-arguments.c Thu Feb 26 11:38:19 2009
@@ -5,7 +5,8 @@
 // RUN: grep 'define float @f3()' %t &&
 // RUN: grep 'define double @f4()' %t &&
 // RUN: grep 'define x86_fp80 @f5()' %t &&
-// RUN: grep 'define void @f6(i8 signext %a0, i16 signext %a1, i32 %a2, i64 %a3, i8\* %a4)' %t
+// RUN: grep 'define void @f6(i8 signext %a0, i16 signext %a1, i32 %a2, i64 %a3, i8\* %a4)' %t &&
+// RUN: grep 'define void @f7(i32 %a0)' %t
 
 char f0(void) {
 }
@@ -27,3 +28,8 @@
 
 void f6(char a0, short a1, int a2, long long a3, void *a4) {
 }
+
+typedef enum { A, B, C } E;
+
+void f7(E a0) {
+}
\ No newline at end of file





More information about the cfe-commits mailing list