diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.pt/expr5.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.pt/expr5.C | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/expr5.C b/gcc/testsuite/g++.old-deja/g++.pt/expr5.C new file mode 100644 index 000000000..8bf8d423c --- /dev/null +++ b/gcc/testsuite/g++.old-deja/g++.pt/expr5.C @@ -0,0 +1,10 @@ +// { dg-do assemble } + +template <class T, int i> +struct S1; + +template <class T, int i, int j> +struct S2 +{ + typedef typename S1<T, (i >= j ? 0 : 1) >::type type; +}; |