summaryrefslogtreecommitdiffstats
path: root/Tests/CompileFeatures/cxx_contextual_conversions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/CompileFeatures/cxx_contextual_conversions.cpp')
-rw-r--r--Tests/CompileFeatures/cxx_contextual_conversions.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/CompileFeatures/cxx_contextual_conversions.cpp b/Tests/CompileFeatures/cxx_contextual_conversions.cpp
index cbc7304..247f13f 100644
--- a/Tests/CompileFeatures/cxx_contextual_conversions.cpp
+++ b/Tests/CompileFeatures/cxx_contextual_conversions.cpp
@@ -17,6 +17,7 @@ public:
}
operator T&() { return val; }
operator T() const { return val; }
+
private:
T val;
};