1 // Check that mallopt does not return invalid values (ex. -1).
2 // RUN: %clangxx -O2 %s -o %t && %run %t
4 // Investigate why it fails with NDK 21.
5 // UNSUPPORTED: android
11 // Try a random mallopt option, possibly invalid.
12 int res
= mallopt(-42, 0);
13 assert(res
== 0 || res
== 1);