summaryrefslogtreecommitdiff
path: root/check/check-special-flags
blob: 78e634195fa72576da299e354507d28e3f1f9e2b (plain)
1
2
3
4
5
6
7
8
9
10
11
#! /bin/sh

set -e

. ${srcdir}/common

RESULT="-g -ffoo -I/foo -isystem /system1 -idirafter /after1 -I/bar -idirafter /after2 -isystem /system2"
run_test --cflags special-flags

RESULT="-L/foo -L/bar -framework Foo -lsimple -framework Bar -Wl,-framework -Wl,Baz"
run_test --libs special-flags