summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/utilities/meta/meta.unary/meta.unary.comp/is_reference.pass.cpp
diff options
context:
space:
mode:
authorMarshall Clow <mclow.lists@gmail.com>2016-07-12 20:15:46 +0000
committerMarshall Clow <mclow.lists@gmail.com>2016-07-12 20:15:46 +0000
commit10e8bef1d4c1a982979a2104c18421eeee632a5c (patch)
tree13c22e614ecbad97a4899d152e017d7a536f079e /libcxx/test/std/utilities/meta/meta.unary/meta.unary.comp/is_reference.pass.cpp
parent5868e5dde99a422b1b865012ffae6b7972a053a9 (diff)
downloadbcm5719-llvm-10e8bef1d4c1a982979a2104c18421eeee632a5c.tar.gz
bcm5719-llvm-10e8bef1d4c1a982979a2104c18421eeee632a5c.zip
Add more tests for LWG#2582. No code changes needed, just tests.
llvm-svn: 275211
Diffstat (limited to 'libcxx/test/std/utilities/meta/meta.unary/meta.unary.comp/is_reference.pass.cpp')
-rw-r--r--libcxx/test/std/utilities/meta/meta.unary/meta.unary.comp/is_reference.pass.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/libcxx/test/std/utilities/meta/meta.unary/meta.unary.comp/is_reference.pass.cpp b/libcxx/test/std/utilities/meta/meta.unary/meta.unary.comp/is_reference.pass.cpp
index e56c8f76181..b546458bdcb 100644
--- a/libcxx/test/std/utilities/meta/meta.unary/meta.unary.comp/is_reference.pass.cpp
+++ b/libcxx/test/std/utilities/meta/meta.unary/meta.unary.comp/is_reference.pass.cpp
@@ -45,6 +45,8 @@ void test_is_not_reference()
#endif
}
+class incomplete_type;
+
class Empty
{
};
@@ -87,6 +89,7 @@ int main()
test_is_not_reference<void *>();
test_is_not_reference<FunctionPtr>();
test_is_not_reference<Union>();
+ test_is_not_reference<incomplete_type>();
test_is_not_reference<Empty>();
test_is_not_reference<bit_zero>();
test_is_not_reference<int*>();
OpenPOWER on IntegriCloud