mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-01-29 10:44:17 +08:00
New test
From-SVN: r30543
This commit is contained in:
parent
a38d360d6b
commit
ff9655e94b
9
gcc/testsuite/g++.old-deja/g++.pt/enum13.C
Normal file
9
gcc/testsuite/g++.old-deja/g++.pt/enum13.C
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
// Build don't link:
|
||||||
|
// Origin: Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
|
||||||
|
|
||||||
|
template <typename T>
|
||||||
|
struct foo {
|
||||||
|
enum { A = 4 >= 4, B = (1 ? true : A) };
|
||||||
|
};
|
||||||
|
|
||||||
|
foo<int> bar;
|
Loading…
Reference in New Issue
Block a user