diff options
Diffstat (limited to 'test/Sema/return.c')
-rw-r--r-- | test/Sema/return.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/Sema/return.c b/test/Sema/return.c index 2a58a6ef9e470..debf5ab55f5b5 100644 --- a/test/Sema/return.c +++ b/test/Sema/return.c @@ -283,6 +283,18 @@ lbl: goto lbl; } +int test36a(int b) { + if (b) + return 43; + __builtin_unreachable(); +} + +int test36b(int b) { + if (b) + return 43; + __builtin_assume(0); +} + // PR19074. void abort(void) __attribute__((noreturn)); #define av_assert0(cond) do {\ |