3 // RUN: echo 'int yyy = 42;' > %t/a.h
4 // RUN: %clang_cc1 -fsyntax-only %s -I%t -verify
6 // expected-error@a.h:1 {{redefinition of 'yyy'}}
7 // expected-note@a.h:1 {{unguarded header; consider using #ifdef guards or #pragma once}}
8 // expected-note-re@redefinition-same-header.c:11 {{'{{.*}}a.h' included multiple times, additional include site here}}
9 // expected-note-re@redefinition-same-header.c:12 {{'{{.*}}a.h' included multiple times, additional include site here}}
14 int foo(void) { return yyy
; }