mirror of
https://github.com/Gericom/teak-llvm.git
synced 2025-06-26 23:09:03 -04:00

clang ' or ' clang -cc1 ' or ' clang-cc ' in test lines (by substituting them to garbage). llvm-svn: 91460
10 lines
499 B
C
10 lines
499 B
C
// RUN: %clang -ccc-host-triple i386-unknown-unknown -static -dM -E -o %t %s
|
|
// RUN: grep '#define __PIC__' %t | count 0
|
|
// RUN: grep '#define __pic__' %t | count 0
|
|
// RUN: %clang -ccc-host-triple i386-unknown-unknown -fpic -dM -E -o %t %s
|
|
// RUN: grep '#define __PIC__ 1' %t | count 1
|
|
// RUN: grep '#define __pic__ 1' %t | count 1
|
|
// RUN: %clang -ccc-host-triple i386-unknown-unknown -fPIC -dM -E -o %t %s
|
|
// RUN: grep '#define __PIC__ 2' %t | count 1
|
|
// RUN: grep '#define __pic__ 2' %t | count 1
|