summaryrefslogtreecommitdiffstats
path: root/base/stack_container_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'base/stack_container_unittest.cc')
-rw-r--r--base/stack_container_unittest.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/base/stack_container_unittest.cc b/base/stack_container_unittest.cc
index aa8f34a..a732995 100644
--- a/base/stack_container_unittest.cc
+++ b/base/stack_container_unittest.cc
@@ -132,6 +132,10 @@ TEST(StackContainer, BufferAlignment) {
EXPECT_EQ(even_aligned, true);
}
+#ifdef COMPILER_MSVC
// Make sure all the class compiles correctly.
+// TODO(pinkerton): i'm not sure why this doesn't compile on GCC, but
+// it doesn't.
template StackVector<int, 2>;
template StackVector<scoped_refptr<Dummy>, 2>;
+#endif