This should always be signed chars, so use int8_t. This fixes a miscompile when
[llvm/stm8.git] / test / FrontendC++ / 2004-01-11-DynamicInitializedConstant.cpp
blob8ae15c9592b1f36fc5a4e9924c843d63657aea02
1 // RUN: %llvmgcc -xc++ -S -o - %s | not grep { constant }
3 extern int X;
4 const int Y = X;
5 const int* foo() { return &Y; }