xref: /Universal-ctags/Units/parser-cxx.r/bug-github-1671.cpp.d/input.cpp (revision 1fc679ba6bb36ac3a6bbf8d56cd57eb16d5475ee)
1 /* Bug #1671 reported by davisking on 2018.01.28 */
2 
3 template <long x, typename enabled=void>
4 struct tabs { const static long value = x; };
5 
6 // specialize tabs
7 template <long x>
8 struct tabs<x,typename enable_if_c<(x<0)>::type> { const static long value = -x; };
9 
my_function()10 void my_function()
11 {
12 }
13