mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-01-28 00:24:38 +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