mirror of
https://github.com/bazelbuild/rules_cc
synced 2024-11-30 22:41:22 +00:00
bf6a32cff5
This is only tested with Bazel at head. We modify the presubmits file so that we don't use release. The reason we don't use release is because we need very recent changes to Bazel to test cc_shared_library. In the future we will also test with release. Also in following CLs, we will inspect in integration test the *.so output from these example builds to make sure that the correct symbols are linked statically and are visible. After that we will add Starlark unit test to check error conditions. RELNOTES:none PiperOrigin-RevId: 280381939 Change-Id: I5de9b364a2a3db28d99558fbfca7bea8052e5114
7 lines
86 B
C++
7 lines
86 B
C++
#include "examples/test_cc_shared_library/bar.h"
|
|
|
|
int foo() {
|
|
bar();
|
|
return 42;
|
|
}
|