mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 12:12:47 +01:00
b4e7c0864c
llvm-svn: 30670
8 lines
172 B
C
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() {}
|
|
|