1
0
mirror of https://github.com/c64scene-ar/llvm-6502.git synced 2025-02-23 20:29:30 +00:00
llvm-6502/test/FrontendC/2005-07-28-IncorrectWeakGlobal.c

6 lines
135 B
C
Raw Normal View History

// RUN: %llvmgcc %s -S -o - | grep TheGlobal | not grep weak
extern int TheGlobal;
int foo() { return TheGlobal; }
int TheGlobal = 1;