mirror of
https://src.fedoraproject.org/rpms/llvm.git
synced 2024-11-28 10:35:42 +00:00
d3a7312537
It's not necessary to store the tests in a separate repository, since other packages can just reference the tests in this repo.
5 lines
141 B
Bash
Executable file
5 lines
141 B
Bash
Executable file
set -exo pipefail
|
|
|
|
echo "void lto_function(){}" | clang -flto -O2 -c -x c -o foo.o -
|
|
ar crs foo.a foo.o
|
|
readelf -c foo.a | grep lto_function
|