blob: b08187fdb8d8d46719745b76656ec0c875df79ee [file] [log] [blame]
// RUN: clang-cc -emit-pch -o %t --relocatable-pch -isysroot %S/libroot %S/libroot/usr/include/reloc.h &&
// RUN: clang-cc -include-pch %t -isysroot %S/libroot %s -verify &&
// RUN: not clang-cc -include-pch %t %s
#include <reloc.h>
int x = 2; // expected-error{{redefinition}}
int y = 5; // expected-error{{redefinition}}
// expected-note{{previous definition}}
// expected-note{{previous definition}}