Sign in
gnu
/
gcc
/
refs/tags/basepoints/gcc-13
/
.
/
gcc
/
testsuite
/
gdc.test
/
runnable
/
testmainb.d
blob: d6452ecb17fb1c9cf41ae0837ea3e20dc1eb1f4c [
file
] [
log
] [
blame
]
/*
Test that -main does nothing when main is already defined
REQUIRED_ARGS: -main
RUN_OUTPUT:
---
Success
---
*/
extern
(
C
)
int
printf
(
const
char
*,
...);
void
main
()
{
printf
(
"Success\n"
);
}