summaryrefslogtreecommitdiffstats
path: root/test/Sema/warn-unsequenced.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Sema/warn-unsequenced.c')
-rw-r--r--test/Sema/warn-unsequenced.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/test/Sema/warn-unsequenced.c b/test/Sema/warn-unsequenced.c
index 9654cda924..247a121941 100644
--- a/test/Sema/warn-unsequenced.c
+++ b/test/Sema/warn-unsequenced.c
@@ -95,11 +95,4 @@ void test() {
_Alignof(++a) + ++a; // expected-warning {{extension}}
__builtin_constant_p(f(++a, 0)) ? f(f(++a, 0), f(++a, 0)) : 0;
-
- if (0) ++a + ++a; // ok, unreachable
-}
-
-void g(const char *p, int n) {
- // This resembles code produced by some macros in glibc's <string.h>.
- __builtin_constant_p(p) && __builtin_constant_p(++n) && (++n + ++n);
}