Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[libc] Add compile tests for each public header #122527

Merged
merged 9 commits into from
Jan 12, 2025
Prev Previous commit
Next Next commit
add mising file
  • Loading branch information
frobtech committed Jan 10, 2025
commit 91da76ce4d46f558194888181e323bebb6668912
15 changes: 15 additions & 0 deletions libc/test/include/header-test-template.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
/*===-- Test for <@HEADER_NAME@> ----------------------------------------===
*
* Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
* See https://llvm.org/LICENSE.txt for license information.
* SPDSList-License-Identifier: Apache-2.0 WITH LLVM-exception
nickdesaulniers marked this conversation as resolved.
Show resolved Hide resolved
*/

#include <@HEADER_NAME@>

#ifdef __cplusplus
extern "C"
#endif
int main(void) {
return 0;
}
Loading