cltemp19.c

来自「开放源码的编译器open watcom 1.6.0版的源代码」· C语言 代码 · 共 28 行

C
28
字号
#include "fail.h"
//this was reduced down from stlport - it was crashing compiler

template <class P>
struct A{
};

template <class Q, class R>
struct B
{
};

template <class S, class T>
struct B< S, A<T> > {
    typedef int K;
};

struct C
{
    typedef typename B< int , A<bool> >::K L;
    typedef typename B< bool, A<bool> >::K M;
};

int main() {
    C c;
    _PASS;
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?