1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 12:12:47 +01:00
llvm-mirror/test/Regression/CFrontend/2005-12-04-AttributeUsed.c
2006-09-29 17:34:56 +00:00

8 lines
172 B
C

// RUN: %llvmgcc %s -S -emit-llvm -o - | llvm-as | llvm-dis | grep llvm.used | grep foo | grep X
int X __attribute__((used));
int Y;
__attribute__((used)) void foo() {}