diff options
| author | Vassil Vassilev <v.g.vassilev@gmail.com> | 2016-04-28 14:13:28 +0000 |
|---|---|---|
| committer | Vassil Vassilev <v.g.vassilev@gmail.com> | 2016-04-28 14:13:28 +0000 |
| commit | 928c8254a9cfee98bd13c754723963bd8865c1b5 (patch) | |
| tree | 4a7e73a1d0a68ea26ad3baeef70b02ea1adfc686 /clang/test/Modules/Inputs/PR27401/a.h | |
| parent | 32617995732d88d245d98bdc0a6a02331f68b321 (diff) | |
| download | bcm5719-llvm-928c8254a9cfee98bd13c754723963bd8865c1b5.tar.gz bcm5719-llvm-928c8254a9cfee98bd13c754723963bd8865c1b5.zip | |
Reland r267691 fixing PR27535.
llvm-svn: 267882
Diffstat (limited to 'clang/test/Modules/Inputs/PR27401/a.h')
| -rw-r--r-- | clang/test/Modules/Inputs/PR27401/a.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/clang/test/Modules/Inputs/PR27401/a.h b/clang/test/Modules/Inputs/PR27401/a.h new file mode 100644 index 00000000000..63d6b707f46 --- /dev/null +++ b/clang/test/Modules/Inputs/PR27401/a.h @@ -0,0 +1,17 @@ +#ifndef _LIBCPP_ALGORITHM +#define _LIBCPP_ALGORITHM +template <class _Tp, _Tp> +struct integral_constant { + static const _Tp value = _Tp(); +}; + +template <class _Tp> +struct is_nothrow_default_constructible + : integral_constant<bool, __is_constructible(_Tp)> {}; + +template <class _Tp> +struct is_nothrow_move_constructible + : integral_constant<bool, __is_constructible(_Tp, _Tp)> {}; + +class allocator {}; +#endif |

