Changeset View
Changeset View
Standalone View
Standalone View
clang/test/CodeGenCoroutines/pr56329.cpp
// Test for PR56919. Tests the we won't contain the resumption of final suspend point. | // Test for PR56919. Tests the we won't contain the resumption of final suspend point. | ||||
// | // | ||||
// RUN: %clang_cc1 -triple %itanium_abi_triple -std=c++20 %s -O3 -S -emit-llvm -o - | FileCheck %s | // RUN: %clang_cc1 -triple %itanium_abi_triple -std=c++20 %s -O3 -S -emit-llvm -o - | FileCheck %s | ||||
// This test is expected to fail on PowerPC. | |||||
// XFAIL: powerpc | |||||
#include "Inputs/coroutine.h" | #include "Inputs/coroutine.h" | ||||
void _exit(int status) __attribute__ ((__noreturn__)); | void _exit(int status) __attribute__ ((__noreturn__)); | ||||
class Promise; | class Promise; | ||||
// An object that can be co_awaited, but we always resume immediately from | // An object that can be co_awaited, but we always resume immediately from | ||||
▲ Show 20 Lines • Show All 106 Lines • Show Last 20 Lines |