summaryrefslogtreecommitdiff
path: root/tests/autodiff
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2023-04-26 22:40:06 -0700
committerGitHub <noreply@github.com>2023-04-26 22:40:06 -0700
commit7be108c379ccc7da3f46b30a2b5917104155d52b (patch)
treeb38b6d5483ba63b18d38c282c06dd55ff9c188ea /tests/autodiff
parent3acbe8145c60f4d1e7a180b4602a94269a489df5 (diff)
Intellisense: show info on decl kind and differentiability. (#2847)
Diffstat (limited to 'tests/autodiff')
-rw-r--r--tests/autodiff/primal-substitute-3.slang1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/autodiff/primal-substitute-3.slang b/tests/autodiff/primal-substitute-3.slang
index ab2899bdc..9c67fbc04 100644
--- a/tests/autodiff/primal-substitute-3.slang
+++ b/tests/autodiff/primal-substitute-3.slang
@@ -18,6 +18,7 @@ struct A : IFoo
}
}
+// A normal function that calls doSomething().
float original<T : IFoo>(T p, float x)
{
p.doSomething();