1 // Creates bad assembly on sparc and x86
2 template<unsigned long SIZE>
5 template<unsigned long SIZE>
6 Array<SIZE> test_ok(const Array<SIZE>& a) {
11 template<unsigned long SIZE>
12 Array<SIZE + 1> test_error(const Array<SIZE>& a) {
13 Array<SIZE + 1> result;
17 int main(int argc, char* argv[]) {
21 test_error(a); // <<< MARKED LINE!