PR lto/84212 - -Wno-* does not disable warnings from -flto link stage
[official-gcc.git] / gcc / testsuite / jit.dg / test-compile-to-assembler.c
blobe3a6d2edd20898b0b2cd47e6a88ae6ac9724c7fa
1 #include <stdlib.h>
2 #include <stdio.h>
4 #include "libgccjit.h"
6 #define TEST_COMPILING_TO_FILE
7 #define OUTPUT_KIND GCC_JIT_OUTPUT_KIND_ASSEMBLER
8 #define OUTPUT_FILENAME "output-of-test-compile-to-assembler.c.s"
9 #include "harness.h"
10 #include "create-code-for-hello-world-executable.h"
12 /* { dg-final { jit-verify-output-file-was-created "" } } */
13 /* { dg-final { jit-verify-assembler "hello from ./output-of-test-compile-to-assembler.c.s.exe" } } */