Skip to content

Commit

Permalink
test: regenerate template template parameter test
Browse files Browse the repository at this point in the history
  • Loading branch information
JohelEGP committed Nov 21, 2023
1 parent 8456825 commit 150930f
Showing 1 changed file with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,26 @@

#include "cpp2util.h"

template<template <typename , auto> class T> class t;
#line 1 "pure2-bugfix-for-template-template-parameter.cpp2"
template<template <typename UnnamedTypeParam1, auto> class T> class t;
#line 2 "pure2-bugfix-for-template-template-parameter.cpp2"

template<typename T, auto V> class u;


//=== Cpp2 type definitions and function declarations ===========================

template<template <typename , auto> class T> class t {};
#line 1 "pure2-bugfix-for-template-template-parameter.cpp2"
template<template <typename UnnamedTypeParam1, auto> class T> class t {};
#line 2 "pure2-bugfix-for-template-template-parameter.cpp2"

template<typename T, auto V> class u {};

auto main() -> int;


//=== Cpp2 function definitions =================================================

#line 1 "pure2-bugfix-for-template-template-parameter.cpp2"

#line 5 "pure2-bugfix-for-template-template-parameter.cpp2"
auto main() -> int{static_cast<void>(t<u>{}); }
Expand Down

0 comments on commit 150930f

Please sign in to comment.