forked from OSchip/llvm-project
15 lines
423 B
C
15 lines
423 B
C
// RUN: %clang_cc1 -emit-pch -o %t -relocatable-pch -isysroot %S/libroot %S/libroot/usr/include/reloc.h
|
|
// RUN: %clang_cc1 -include-pch %t -isysroot %S/libroot %s -verify
|
|
// RUN: not %clang_cc1 -include-pch %t %s
|
|
// XFAIL: win32
|
|
#include <reloc.h>
|
|
|
|
int x = 2; // expected-error{{redefinition}}
|
|
int y = 5; // expected-error{{redefinition}}
|
|
|
|
|
|
|
|
|
|
// expected-note{{previous definition}}
|
|
// expected-note{{previous definition}}
|