blob: 242b1074e282a664d3baf3283f683a01f0f13f9a [file] [log] [blame]
// RUN: %clang_cc1 -emit-pch %s -o %t
// RUN: %clang_cc1 -include-pch %t %s -verify
#ifndef HEADER_H
#define HEADER_H
static void f(void);
static void g(void);
void h(void) {
f();
g();
}
#else
static void g(void) {}
// expected-warning@5{{function 'f' has internal linkage but is not defined}}
// expected-note@8{{used here}}
#endif