aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/falign-functions.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.target/i386/falign-functions.c')
-rw-r--r--gcc/testsuite/gcc.target/i386/falign-functions.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.target/i386/falign-functions.c b/gcc/testsuite/gcc.target/i386/falign-functions.c
new file mode 100644
index 0000000..27daa1d
--- /dev/null
+++ b/gcc/testsuite/gcc.target/i386/falign-functions.c
@@ -0,0 +1,8 @@
+/* { dg-do compile } */
+/* { dg-options "-O2 -falign-functions=64:8" } */
+/* { dg-final { scan-assembler ".p2align 6,,7" } } */
+
+void
+test_func (void)
+{
+}