Follow-up to D38226.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@314191
91177308-0d34-0410-b5e6-
96231b3b80d8
# Do not run for 'android' despite being linux.
if len(triple_set.intersection(supported_oses)) == 0 or 'android' in triple_set:
config.unsupported = True
+
+if config.enable_shared:
+ config.available_features.update(['enable_shared'])
// SHARED-NOT: {{clang_rt\.xray-}}
// STATIC: {{clang_rt\.xray-}}
//
-// REQUIRES: linux
+// REQUIRES: linux, enable_shared
int foo() { return 42; }
#ifdef MAIN