brintos

brintos / llvm-project-archived public Read only

0
0
Text · 542 B · 8ccac7f Raw
9 lines · c
1// RUN: %clang_cc1 -triple=x86_64-unknown-linux -Wpragmas -verify %s2// RUN: %clang_cc1 -triple=powerpc64-ibm-aix-xcoff -Wpragmas -verify %s3 4// Check that pragma redefine_extname applies to external declarations only.5#pragma redefine_extname foo_static bar_static6static int foo_static(void) { return 1; } // expected-warning {{#pragma redefine_extname is applicable to external C declarations only; not applied to function 'foo_static'}}7 8unsigned __int128_t; // expected-error {{redefinition of '__int128_t' as different kind of symbol}}9