1f51a89d39
These were ignored by git accidentally. We want ALL OF THEM since they all came in the llvm/clang source distribution.
15 lines
521 B
C
15 lines
521 B
C
// RUN: %clang -target x86_64-apple-darwin10 --relocatable-pch -o %t \
|
|
// RUN: -isysroot %S/libroot %S/libroot/usr/include/reloc.h
|
|
// RUN: %clang -target x86_64-apple-darwin10 -fsyntax-only \
|
|
// RUN: -include-pch %t -isysroot %S/libroot %s -Xclang -verify
|
|
// RUN: not %clang -target x86_64-apple-darwin10 -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}}
|