OSDN Git Service

Some raw string changes from N3077
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / cpp0x / decltype15.C
1 // PR c++/38640
2 // { dg-do compile }
3 // { dg-options "-std=c++0x" }
4
5 template<int N> void foo (decltype (N));
6 template<long int N> void foo (decltype (N));
7
8 void
9 bar (void)
10 {
11   foo<5> (6);
12   foo<5L> (6L);
13 }