summaryrefslogtreecommitdiff
path: root/libbindgen/tests/headers/dash_language.h
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2016-12-12 02:14:05 -0800
committerGitHub <noreply@github.com>2016-12-12 02:14:05 -0800
commit5d9c48e59b49135db1ecfd4ff8c3dbab8ed05086 (patch)
tree9291df6f861588dad39b995dd6dbe94f7d9ab2a9 /libbindgen/tests/headers/dash_language.h
parent5d914893b855f3d8a32cfffeda392cf8229ba5c9 (diff)
parent8a605123675d56d95533bfa22270bee202aa42db (diff)
Auto merge of #330 - emilio:error, r=xidorn
lib: Return error early if there are any error diagnostics. r? @fitzgen This is a rebase of #280
Diffstat (limited to 'libbindgen/tests/headers/dash_language.h')
-rw-r--r--libbindgen/tests/headers/dash_language.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libbindgen/tests/headers/dash_language.h b/libbindgen/tests/headers/dash_language.h
new file mode 100644
index 00000000..4c8bb58d
--- /dev/null
+++ b/libbindgen/tests/headers/dash_language.h
@@ -0,0 +1,6 @@
+// bindgen-flags: -- -x c++ --std=c++11
+
+template<typename T>
+struct Foo {
+ int bar;
+};