1*0a6a1f1dSLionel Sambuc // REQUIRES: powerpc-registered-target 2f4a2713aSLionel Sambuc // RUN: %clang_cc1 -triple powerpc-unknown-unknown -emit-llvm %s -o - | FileCheck %s 3f4a2713aSLionel Sambuc test_eh_return_data_regno()4f4a2713aSLionel Sambucvoid test_eh_return_data_regno() 5f4a2713aSLionel Sambuc { 6f4a2713aSLionel Sambuc volatile int res; 7f4a2713aSLionel Sambuc res = __builtin_eh_return_data_regno(0); // CHECK: store volatile i32 3 8f4a2713aSLionel Sambuc res = __builtin_eh_return_data_regno(1); // CHECK: store volatile i32 4 9f4a2713aSLionel Sambuc } 10