This should always be signed chars, so use int8_t. This fixes a miscompile when
[llvm/stm8.git] / test / FrontendC++ / 2009-03-17-dbg.cpp
blob6708e12f9b935b34c717cb500f66b4b8f6636947
1 // RUN: %llvmgxx -S %s -o /dev/null -g
2 // XTARGET: darwin,linux
3 // XFAIL: *
4 template <typename T1,typename T2>
5 inline void f(const T1&,const T2&) { }
7 template <typename T1,typename T2,void F(const T1&,const T2&)>
8 struct A {
9 template <typename T> void g(T& i) { }
12 int main() {
13 int i;
14 A<int,int,f> a;
15 a.g(i);