libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / testsuite / gcc.dg / live-patching-2.c
blob1c4f9229b82819f2dad73397d72ea1b513f0c66f
1 /* { dg-do compile } */
2 /* { dg-require-effective-target lto } */
3 /* { dg-options "-O2 -flive-patching=inline-only-static -flto" } */
5 int main()
7 return 0;
10 /* { dg-message "sorry, unimplemented: live patching \\(with 'inline-only-static'\\) is not supported with LTO" "-flive-patching and -flto together" { target *-*-* } 0 } */