]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/testsuite/gcc.target/ia64/visibility-1.c
re PR testsuite/35512 (gcc.target/ia64/visibility-1.c)
[thirdparty/gcc.git] / gcc / testsuite / gcc.target / ia64 / visibility-1.c
index 53bc2c3f7852bfc3cc67fa5585320105b197d222..fdccab3c7508d459a751c83f7335865321553cce 100644 (file)
@@ -19,9 +19,11 @@ static struct A variable_l __attribute__((section (".sbss")));
 struct A variable_m __attribute__((visibility ("hidden"), section(".sbss")));
 struct A variable_n __attribute__((section (".sbss")));
 
-int foo (void)
+void foo (void)
 {
-  return variable_i + variable_j + variable_k;
+  variable_i = 0;
+  variable_j = 0;
+  variable_k = 0;
 }
 
 void bar (void)