summaryrefslogtreecommitdiffstats
path: root/test/Preprocessor/non_fragile_feature1.m
blob: 5943e01b517eefaf5dc794dc4a3a5d2177ec762e (plain)
1
2
3
4
5
6
7
8
// RUN: clang -cc1 -triple i386-unknown-unknown %s
#ifndef __has_feature
#error Should have __has_feature
#endif

#if __has_feature(objc_nonfragile_abi)
#error Non-fragile ABI not used for compilation but feature macro set.
#endif