Author: baldrick
Date: Tue Sep 25 23:04:29 2007
New Revision: 42338

URL: http://llvm.org/viewvc/llvm-project?rev=42338&view=rev
Log:
Test that local variables are aligned as the user requested.

Added:
    llvm/trunk/test/CFrontend/2007-09-26-Alignment.c

Added: llvm/trunk/test/CFrontend/2007-09-26-Alignment.c
URL: 
http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CFrontend/2007-09-26-Alignment.c?rev=42338&view=auto

==============================================================================
--- llvm/trunk/test/CFrontend/2007-09-26-Alignment.c (added)
+++ llvm/trunk/test/CFrontend/2007-09-26-Alignment.c Tue Sep 25 23:04:29 2007
@@ -0,0 +1,7 @@
+// RUN: %llvmgcc -S %s -o - | grep {align 16}
+extern p(int *);
+int q(void) {
+  int x __attribute__ ((aligned (16)));
+  p(&x);
+  return x;
+}


_______________________________________________
llvm-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to