summaryrefslogtreecommitdiffstats
path: root/libcxx/test/utilities/meta/meta.unary.prop.query/alignment_of.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/test/utilities/meta/meta.unary.prop.query/alignment_of.pass.cpp')
-rw-r--r--libcxx/test/utilities/meta/meta.unary.prop.query/alignment_of.pass.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/test/utilities/meta/meta.unary.prop.query/alignment_of.pass.cpp b/libcxx/test/utilities/meta/meta.unary.prop.query/alignment_of.pass.cpp
index 87c22248813..c896aa20229 100644
--- a/libcxx/test/utilities/meta/meta.unary.prop.query/alignment_of.pass.cpp
+++ b/libcxx/test/utilities/meta/meta.unary.prop.query/alignment_of.pass.cpp
@@ -30,13 +30,13 @@ public:
int main()
{
- test_alignment_of<int&, sizeof(long) == 4 ? 4 : 8>();
+ test_alignment_of<int&, 4>();
test_alignment_of<Class, 1>();
test_alignment_of<int*, sizeof(long) == 4 ? 4 : 8>();
test_alignment_of<const int*, sizeof(long) == 4 ? 4 : 8>();
test_alignment_of<char[3], 1>();
test_alignment_of<int, 4>();
- test_alignment_of<double, sizeof(long) == 4 ? 4 : 8>();
+ test_alignment_of<double, 8>();
test_alignment_of<bool, 1>();
test_alignment_of<unsigned, 4>();
}
OpenPOWER on IntegriCloud