diff --git a/tests/test_CFunctionEmbedderTable.cpp b/tests/test_CFunctionEmbedderTable.cpp
index 28d15ce0e8a24a30d95cce58ee4ac42d229791b0..797536f4245429aeaf8767e0352046558febf4de 100644
--- a/tests/test_CFunctionEmbedderTable.cpp
+++ b/tests/test_CFunctionEmbedderTable.cpp
@@ -26,7 +26,15 @@ TEST_CASE("CFunctionEmbedderTable", "[language]")
   REQUIRE(table[0] == embedded_sin);
   REQUIRE(table[1] == embedded_greater);
 
+  const auto& const_table = table;
+
+  REQUIRE(const_table.size() == 2);
+
+  REQUIRE(const_table[0] == embedded_sin);
+  REQUIRE(const_table[1] == embedded_greater);
+
 #ifndef NDEBUG
   REQUIRE_THROWS_AS(table[2], AssertError);
+  REQUIRE_THROWS_AS(const_table[2], AssertError);
 #endif   // NDEBUG
 }