1// PR c++/49418
2
3template <class T>
4void f (const T t)
5{
6  t = 1;			// { dg-error "" }
7}
8
9int main()
10{
11  f(1);
12}
13