We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54b604a commit ccf13f3Copy full SHA for ccf13f3
libc/test/integration/startup/gpu/init_fini_array_test.cpp
@@ -32,7 +32,10 @@ int GLOBAL_INDEX = 512;
32
int INITVAL_INITIALIZER = 0x600D;
33
int BEFORE_INITIALIZER = 0xFEED;
34
35
+#pragma GCC diagnostic push
36
+#pragma GCC diagnostic ignored "-Wglobal-constructors"
37
A global(GLOBAL_INDEX, INITVAL_INITIALIZER);
38
+#pragma GCC diagnostic pop
39
40
int initval = 0;
41
int before = 0;
0 commit comments