blob: 80a9e38f4825a43b56bfb76e9ee3adb169c4c847 (
plain)
1
2
3
4
5
6
7
8
|
/* PR c++/67 */
/* { dg-do compile } */
template <class T> struct foo {
static const int bar [3];
};
// Used to fail if 2+1 rather than 3.
template <class T> const int foo<T>::bar [2+1] = { 0, 0, 0 };
|