// Test that rolling back allocations works.#include <stdlib.h>void__attribute((transaction_pure,noinline))dont_optimize(void* p){*(volatilechar*) p;}intmain(){
__transaction_atomic {void*p =malloc(23);dont_optimize(p);
__transaction_cancel;}return0;}