mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 17:24:59 +00:00
feat: Add C language test fixture for repository mapping
This commit is contained in:
parent
393b45dd21
commit
0b949f47d9
1 changed files with 15 additions and 0 deletions
15
tests/fixtures/languages/c/test.c
vendored
15
tests/fixtures/languages/c/test.c
vendored
|
@ -4,3 +4,18 @@ int main() {
|
||||||
printf("Hello, World!\n");
|
printf("Hello, World!\n");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
#include <stdio.h>
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The main entry point of the program
|
||||||
|
* @return 0 on success
|
||||||
|
*/
|
||||||
|
int main(int argc, char **argv) {
|
||||||
|
printf("Hello, World!\n");
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Helper function
|
||||||
|
void print_message(const char *message) {
|
||||||
|
printf("%s\n", message);
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue