blob: 4888efd6997904735c58fe5010e23729f4183ce8 [file] [log] [blame] [edit]
load("@rules_cc//cc:defs.bzl", "cc_binary", "cc_test")
cc_binary(
name = "hello_world",
srcs = ["hello_world.cc"],
)
# Build more than one test to ensure that code coverage is generated.
cc_test(
name = "dummy_test1",
srcs = ["dummy_test1.cc"],
)
cc_test(
name = "dummy_test2",
srcs = ["dummy_test2.cc"],
)
# This is an intentionally buggy binary to test static analysis.
cc_binary(
name = "dereferencing_null_pointer",
srcs = ["dereferencing_null_pointer.cc"],
)
cc_binary(
name = "c_only",
srcs = ["c_only.c"],
)