mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-28 06:11:21 +00:00
11 lines
174 B
C
11 lines
174 B
C
// RUN: %clang_cc1 -emit-llvm %s -o /dev/null
|
|
|
|
static int unused_func(void) {
|
|
return 1;
|
|
}
|
|
|
|
int foo(void) {
|
|
(void)unused_func; /* avoid compiler warning */
|
|
return 2;
|
|
}
|