/
redgpu
/
ispc
Обзор
Документация
Войти
/
redgpu
/
ispc
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
tests/lit-tests/struct_arith.ispc
10 строк
244 B
Aleksei Nurmukhametov
tests: move tests from tests_errors to lit-tests
09 фев 2024, 06:08
09 фев 2024, 06:08
976d721
Код
Авторство
О чём код?
// RUN: not %{ispc} --target=host --nowrap --nostdlib %s -o - 2>&1 | FileCheck %s // CHECK: Assignment operator "+=" is illegal with struct type struct Point { float x, y, z; }; void foo() { Point a = {1,2,3}, b = {4,5,6}; a += b; }